Re: Disabled button looks like enabled
Re: Disabled button looks like enabled
- Subject: Re: Disabled button looks like enabled
- From: "Donnie Lee" <email@hidden>
- Date: Mon, 12 Jan 2009 20:57:47 +0300
>> "The button should be disabled by design. It don't intend to interact
>> with a user at all."
>
> This is exactly the point Ricky was making. If a button never works
> *by design*, a button is the wrong choice for a UI element
I don't like to discuss ideological part of the thing, I ask only
about a technical implementation.
> you'd need to override the button's
> drawing to always draw the enabled state, ignoring the control's
> actual state.
Too "dirty" solution.
> Or, you could let the button allow clicking and simply
> do nothing.
As I already did and asked about more beautiful ways. If there is no
more beautiful way -- not a big problem.
Donnie.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden