Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to reset inkey() & readkey() values
Message
From
17/02/2009 10:02:36
Freddie Rodrigues
Bitrun Business Solutions
Mumbai, India
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP3
Miscellaneous
Thread ID:
01382337
Message ID:
01382350
Views:
44
Sergey,

Does not work in my case.
DO WHILE .T.
  @ 05,07 GET  maccd       
  @ 06,07 GET  machddtls  VALID vcheck()
  READ
  IF LASTKEY()=27
    EXIT
  ENDIF
ENDDO


FUNC vcheck

command lines ...

* If ESCape is pressed here I need to reset the lastkey() value ELSE i am thrown out of the DO WHILE
RETURN
Helping hands are better than praying lips.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform