Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command button Not Enabled but still hears click?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00172199
Message ID:
00172294
Views:
21
I'm sure John's response about event queueing is correct. However, perhaps you can use the INKEY() function with the second parameter to check for a mouse click or use the KEYPRESS method to trap a key stroke.

HTH
Barbara

>Hi,
>
>I disable the command buttons on my form as soon as the user clicks on the go/"do it" button (and re-enable when processing is finished).
>
>If the user clicks on the "go" button a second time while it is disabled, the command button's click event is fired a second time after it finishes the first time.
>
>Is there a way to completely disable the button so any clicks while disabled are completely ignored?
>
>Thanks!
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform