Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interface: Visible vs. Enabled
Message
 
 
To
22/08/2001 11:02:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00547292
Message ID:
00547303
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform