Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command button Not Enabled but still hears click?
Message
From
03/01/1999 10:47:44
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00172199
Message ID:
00172249
Views:
28
Just an idea. Have you tried "CLEAR TYPEAHEAD" right before your "processing" returns focus/control back to the form/btns? I would think that would clear out anything in the keyboard buffer that's causing the CLICK event to fire again.




>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!
Sean Campbell
www.upstagesoftware.com
sc@upstagesoftware.com

**********************************************************
Eddie, I wouldn't be anymore surprised, if tomorrow I woke up with my face stapled to the living room carpet.

Clark W. Griswold
**********************************************************
Previous
Reply
Map
View

Click here to load this message in the networking platform