Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command button Not Enabled but still hears click?
Message
De
02/01/1999 21:30:28
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00172199
Message ID:
00172209
Vues:
28
Vern,

It sounds like your form isn't getting refreshed after you reset the enabled property of the buttons.
Another approach would be to add "flag" property to the form that get's set when they click on go/doit button. Then the other button's WHEN can check the value of the flag before going ahead.

>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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform