Thanks for the reply. However, The interactive Change does not occurs when you select text. I did find a way to make the thing work.
What I did is that I put a timer on my form with a really small interval (we're talking about 5 milliseconds) that I activate at the end of my keyPress event. In my timer, what I do is that I determine which of the control I used to select the text by using a global property call cActCtrl (for active control). In my timer's timer event, I calculate the lenght of my selection, and then I reste my timer and stop it. I have to say that's not the way I wanted at first, but since it worked fine for me, I don't see why I don't use it =).
P.S. I sometime see in some message area in blue when they put codes in it.. How do we do that???
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement