Hi,
When I double-click inside a mailmerge field, the field markers are also selected.
This can be a problem if I type something aferwards, as the field is then deleted and replaced by the text I typed.
How can I prevent fields markers from being selected ?
Thanks,
Attila
#1
♥ 0
7.5k Views
1 links 2 users
read 1 min
EditOptions wpDontSelectCompleteField can be used.
#2
♥ 0
Hi,
Doesn't change anything, filed markers are still selected when I double-click inside the field :
🖼 www.kainfo.ch
I used UseDefEditor demo project and the following code :
WPToolsEditor.WPRichText1.EditOptions := WPToolsEditor.WPRichText1.EditOptions + [wpDontSelectCompleteField];
#3
♥ 0
could you please answer me ?
thanks
#4
♥ 0
Note, you can always send an email to me.
The other option is wpDisableDoubleclickSelectsMarker -
used in WPCtrMemo in procedure DoDblClick.
WPRichText1.EditOptionsEx2 := WPRichText1.EditOptionsEx2+ [wpDisableDoubleclickSelectsMarker];
#5
♥ 0
It works, thank you very much.
#6
♥ 0
This category is archived. No new posts are possible.