Hi,
We have migrated to the latest version of WPTools 6. We notice that when we merge RTF text in mergefields, the field content is protected(readonly) but does not have the color of the normal mergefields. AutomaticTextAttr.Backgroundcolor is set to Silver, normal fields do have this color, but Mergefields that have been set with the following code do not have this color. In WPTools 3 this worked oke.
procedure TFrm_BaseWordpad.BodyTextMailMergeGetText(Sender: TObject; const inspname: String; const Contents: TWPMMInsertTextContents);
begin
if <isRTFField> then
Contents.Options := [mmMergeAsRTF];
contents.StringValue := GetFieldText(inspname); //Returns RTF text
end;