FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Caret move
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Caret move
Posted: Thu Jul 03, 2008 12:04 PM

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 ?

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Caret move
Posted: Thu Jul 03, 2008 07:53 PM

Try oGet:nPos

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Caret move
Posted: Thu Jul 03, 2008 11:10 PM

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

Continue the discussion