Re: Disabled button looks like enabled
Re: Disabled button looks like enabled
- Subject: Re: Disabled button looks like enabled
- From: Luca <email@hidden>
- Date: Mon, 12 Jan 2009 17:34:54 +0100
I agree with Ricky. Why do you need this?
By the way, think the better way is to subclass the NSButton,
overriding the -mouseDown method. Do not call -[super mouseDown:], and
it's done - your button will not be drawed.
-- Luca C.
On 12 Jan 09, at 13:46, Ricky Sharp wrote:
Do not do this. Users will be very frustrated when they cannot
interact with that button.
Why do you think you need this?
Sent from my iPhone
On Jan 12, 2009, at 5:55 AM, Donnie Lee <email@hidden> wrote:
Hi!
I'd like to create a disabled button that looks like enabled. If I
just set enabled to "no", I got grayed button. Instead I do
[[theButton cell] setHighlightsBy:NSNoCellMask]; and it looks like
disabled but continues to receive events. Is there a way to make a
disabled button that looks like enabled? Thanks in advance!
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
_______________________________________________
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
_______________________________________________
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