Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to CLEAR the keyboard buffer? - Vol.2
Message
From
27/01/1999 23:05:51
 
 
To
27/01/1999 19:46:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00181120
Message ID:
00181171
Views:
13
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform