Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interface: Visible vs. Enabled
Message
 
 
À
22/08/2001 11:02:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00547292
Message ID:
00547303
Vues:
11
This message has been marked as a message which has helped to the initial question of the thread.
>When a command button (or other object) doesn't apply in a certain situation, I can either make .Visible = .F., or .Enabled = .F. In general, what would be better UI? Any opinions?
>
>Hilmar.

It depends. If under certain curcumstances the button would be enabled on this form, I would play with enabled property (e.g. user would be confused, if button magically disappears). If, however, for this particular user or this particular regime the button never would be accessible, I would make it invisible.

In other words, if in the form's life-time there could be conditions, under which button should be accessible, I would make it disabled. If not, I would make it invisible.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform