Caret move

Post Reply
Natter
Posts: 524
Joined: Mon May 14, 2007 9:49 am

Caret move

Post by Natter »

Hi, all !
I want determine caret position into GET after VK_LEFT/VK_RIGHT/got focus.
If I do it by oGet:bKeyDown or oGet:bGotFocus that is not right
How do it ?
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Try oGet:nPos

James
Natter
Posts: 524
Joined: Mon May 14, 2007 9:49 am

Post by Natter »

oGet:nPos is not right all case.

I edit text and to move position into multistrings browser(hex value) of context.
I resolved this problem so. In order to get right position of my GET after any events (VK_LEFT/VK_RIGHT/focus/insert chat/delete char etc. ) I use timer 0.1-0.2 sec
Post Reply