Greetings...:)
In versions prior to 5, code similar to the following would find the next merge code field:
Code
with WPRichText1.Finder do begin
Position := Pos;
match_attr := [wmtIsInsertPoint]; // "category" to search for
cmp_attr.style := [afsIsInsertPoint]; // attribute within that category
WildCard := '*';
if( Next( '*' ) ) then...
Could you please give an example of how searching for the next merge code field is done in WPTools 5 (or point me at a demo program that has code that does it)?
Thanks...:)
diamond[/code]