Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing keystrokes/save keyboard buffer
Message
From
03/04/1998 14:32:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Losing keystrokes/save keyboard buffer
Miscellaneous
Thread ID:
00089372
Message ID:
00089372
Views:
123
Does anyone know of a way to save the contents of the keyboard buffer to a memory variable, or to anything else for that matter, and then retrieve it afterwards? My program is losing keystrokes when the I hit ESC quickly 2 or 3 times. It only processes 1 press of the ESC key and I haven't been able to figure out why.

Here is the scenario. The user is sitting in a textbox with the Cancel property of the Undo button set to true. When the user presses ESC, the Undo button is "clicked". Then my program sets the Cancel property of the Undo button to false and the Cancel property of the Find button to true. The second press of the ESC key should "click" the Find button, but it doesn't. I am hitting ESC pretty fast, but not that fast.

As a last resort, I thought I would just try to save the keystrokes. Any suggestions?
Next
Reply
Map
View

Click here to load this message in the networking platform