Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New VFP 5 user needs help with WHEN event
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00103144
Message ID:
00103162
Vues:
24
Robert,

If the When() event returns .F. the button can not get focus. But I'm with the others, this is not a standard windows interface design. If they can't click the button set it's .Enabled = .F., set it .T. when they can click it. Otherwise you'll end up with support calls asking why nothing happens sometimes when they click the mouse on the button.

>I am using VFP 5.0 and want to keep a user from pressing a button but not disabling it. I understand that with other versions you could use the WHEN event (when the control is going to receive focus) and preventing the click event to occure. This permits you to disable the button without greying it out.
>Is this possible? I haven't been able to do it or don't know what event to cancel at this point in the sequence.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform