Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to CLEAR the keyboard buffer? - Vol.2
Message
De
27/01/1999 23:05:51
 
 
À
27/01/1999 19:46:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00181120
Message ID:
00181171
Vues:
12
>Thanks to Fred, Rich & Barbara for the helping with NODEFAULT issue.
>Everything works fine, but I still have this question:
>
>HOW DO YOU CLEAR THE KEYBOARD/MOUSE BUFFER?
>I have some users with slow machines and they just love clicking around while processing goes on. I'd like to clean up the buffer after processing but coudn't find the way...
>
>Any help appriciated

To clear the keyboard buffer, use CLEAR TYPEAHEAD. As far as I know, there is no way to clear the mouse clicks. One good alternative though, is to issue a THIS.Enabled = .F. in the button click, and then re-enable the button after the code runs. This will assure tat the user does not click that button twice. To prevent clicking elsewhere on the form you would have to come up with something more elaborate to disable other controls, and set form.closeable = .F. etc.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform