Problem with LastKey()

Post Reply
Goran Papic
Posts: 3
Joined: Thu Oct 27, 2005 1:31 pm
Location: Sisak, Croatia

Problem with LastKey()

Post 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
DanielPuente
Posts: 108
Joined: Sun Oct 09, 2005 6:12 pm
Location: Mar del Plata - Argentina
Contact:

Post by DanielPuente »

Goran:

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

IF GetAsyncKey(VK_UP)
RETURN .T.
ENDIF

Regards
Daniel Puente
Mar del Plata, Argentina
danielpuente@speedy.com.ar
puenteda@hotmail.com
Goran Papic
Posts: 3
Joined: Thu Oct 27, 2005 1:31 pm
Location: Sisak, Croatia

Post by Goran Papic »

Thanks!
Post Reply