General information
Category:
Coding, syntax & commands
Title:
Losing keystrokes/save keyboard buffer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only