Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Losing keystrokes/save keyboard buffer
Message
De
03/04/1998 14:32:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Losing keystrokes/save keyboard buffer
Divers
Thread ID:
00089372
Message ID:
00089372
Vues:
124
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform