i have aproblem to set the cursor of a get to the very first position.
I tried the following
- Code: Select all Expand view
oSearch:bGotFocus := { || oSearch:PostMsg( WM_KEYDOWN, VK_HOME, 0 ), SysRefresh() }
oSearch:bGotFocus := { || oSearch:nPos := 1, SysRefresh() }
oSearch:bGotFocus := { || oSearch:SetPos( 1 ) }
All three methods work ok if the get variable is of type character.
But neither of these methods work if the get variable contains a date.
I put a small selfcontainted sample here
http://www.d-hoefner.de/files/test.zip
May be someone knows a workaround for this?
Thanks and regards,
Detlef