>> "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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to