Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clear lastkey()
Message
From
23/12/2004 19:07:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Clear lastkey()
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00971965
Message ID:
00971965
Views:
193
Is there a way to clear the lastkey() value WITHOUT fiddling with keyboard buffer.
eg I can go
if lastkey()=27
  keyboard "!"
  inkey(0,'H')
endif
however in certain situations this may interfere with the user's typeahead, so it would be really nice if i could say lastkeyclear() or something.
Next
Reply
Map
View

Click here to load this message in the networking platform