Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command button Not Enabled but still hears click?
Message
From
04/01/1999 00:34:56
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00172199
Message ID:
00172319
Views:
23
>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!

Hi Vern!

I ran into a similar situation. Putting a DOEVENTS before the button was re-enabled stopped the extra firing of the button for me.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform