FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper Problem with LastKey()
Posts: 3
Joined: Thu Oct 27, 2005 01:31 PM
Problem with LastKey()
Posted: Thu Oct 27, 2005 01:49 PM

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

Posts: 108
Joined: Sun Oct 09, 2005 06:12 PM
Problem with LastKey()
Posted: Fri Oct 28, 2005 01:44 AM

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
Posts: 3
Joined: Thu Oct 27, 2005 01:31 PM
Problem with LastKey()
Posted: Fri Oct 28, 2005 09:12 AM

Thanks!

Continue the discussion