Page 1 of 1

Problem with LastKey()

Posted: Thu Oct 27, 2005 1:49 pm
by Goran Papic
Hi all!
Can anyone tell me why LastKey() function in VALID clause work properly when my GET is placed in WINDOW, and doesn't work when GET is in DIALOG?
Goran

Posted: Fri Oct 28, 2005 1:44 am
by DanielPuente
Goran:

Don't use Lastkey(), use GetAsyncKey(), for example:

IF GetAsyncKey(VK_UP)
RETURN .T.
ENDIF

Regards

Posted: Fri Oct 28, 2005 9:12 am
by Goran Papic
Thanks!