• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disabled button looks like enabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Disabled button looks like enabled
      • From: "Donnie Lee" <email@hidden>
References: 
 >Disabled button looks like enabled (From: "Donnie Lee" <email@hidden>)
 >Re: Disabled button looks like enabled (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: create custom control same as multiple monitor control that manages monitors windows
  • Next by Date: Re: Security With Show Package Contents?
  • Previous by thread: Re: Disabled button looks like enabled
  • Next by thread: Re: Disabled button looks like enabled
  • Index(es):
    • Date
    • Thread