Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a Clear Typeahead for Mouse Clicks?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01153553
Message ID:
01153561
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform