Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a Clear Typeahead for Mouse Clicks?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01153553
Message ID:
01153561
Vues:
26
>I have a command button on a modless window that fires off a communication process. I disable the button while the process is running but I found that I can click on the button a and when the button is enabled again the blasted thing fires all the clicks I did while it was disabled.
>
>Any way to clear typeahead for mouse clicks? If not then I will just not disable it and set a flag instead to just RETURN from the button while the process is running.
>TIA

I haven't tried this in actual code, but maybe something like this:
DO WHILE INKEY(0.001,'M')=151
ENDDO
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform