>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