Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable the keyboard
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00319137
Message ID:
00319177
Vues:
17
I see... It sounds like a strategically placed KEYBOARD CLEAR may do the trick.

>Hi Ken,
>
>Here goes! I have a loop that calls a form (like thus):
>
>glDone = .f.
>DO WHILE !glDone
> DO FORM MainForm
> READ EVENTS
>ENDDO
>
>When exiting the form, the program prints some reports and returns to run the form again so that all the initalization, etc. will run. The problem is that on some slower machines if the user presses the key to run the reports and then continues to press the key....the program tries to run the form again before the old instance is released. So I thought if I could disable the keyboard till it was "all clear" to do the form again, that would be a good thing. Many thanks for asking.
>
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform