Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to highlight selected text in rich edit
Message
 
 
To
23/10/2003 10:52:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00841487
Message ID:
00841608
Views:
22
This message has been marked as the solution to the initial question of the thread.
Claudio,

Your code will miss the first occurence if it's located at the very beginning of the control because the character position in RTF control is 0-based. It should be
lnpos = 0
...
    Do while lnpos >= 0
...

>
>He is trying to highlight for every occurrence of some text.. Starting by sergey's answer.. Here we go:
>
>Works perfectly here..
>
<snip>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform