how to follow cursor in text box

  • Thread starter Thread starter oketz1
  • Start date Start date
O

oketz1

Hi

I am writing an application very similar to notepad and I have to
implement the status bar feature, which mean that I have to follow
after the cursor

is there any event that raised when cursor location change ?

I have tryed the text change and the click event on text box but its
not enough to follow the cursor if I am not change the text just move
the cursor by keyboard.

is anyone know how to solve the problem ?

thanks a lot
Okets

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
You can try using the KeyPress event, and check the current cursor
position, or even check to see if the arrow keys have been pressed.

Lowell
 
Back
Top