• 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
NSButton/setEnabled:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSButton/setEnabled:


  • Subject: NSButton/setEnabled:
  • From: Rick Bischoff <email@hidden>
  • Date: Sun, 13 Jun 2004 23:43:05 -0500

Hello,

I need to find a way to disable a button from responding to mouse events without drawing
the "inactive" pattern over the button. In particular,

[button setEnabled:NO]

Should have no effect on appearance-- only on which events are passed through. Also, I will need to be able to use [button highlight:] during the time where it is not enabled. Am I going to have to subclass NSButton to do this?

Thank you,
Rick Bischoff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: NSFontPanel problem
  • Next by Date: Finally got it worked out (RE: Checksums and what not)
  • Previous by thread: Re: Background color for Drawers
  • Next by thread: Re: NSButton/setEnabled:
  • Index(es):
    • Date
    • Thread