oGet:SetPos() and date
Posted: Wed Jun 14, 2006 12:35 pm
Hi all,
i have aproblem to set the cursor of a get to the very first position.
I tried the following
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
i have aproblem to set the cursor of a get to the very first position.
I tried the following
Code: Select all
oSearch:bGotFocus := { || oSearch:PostMsg( WM_KEYDOWN, VK_HOME, 0 ), SysRefresh() }
oSearch:bGotFocus := { || oSearch:nPos := 1, SysRefresh() }
oSearch:bGotFocus := { || oSearch:SetPos( 1 ) }
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