Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to highlight selected text in rich edit
Message
 
 
À
23/10/2003 10:52:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00841487
Message ID:
00841608
Vues:
23
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform