• 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: How do I programmatically disable/enable an NSButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I programmatically disable/enable an NSButton


  • Subject: Re: How do I programmatically disable/enable an NSButton
  • From: mmalc crawford <email@hidden>
  • Date: Sun, 20 Jan 2008 10:32:41 -0800


On Jan 20, 2008, at 10:28 AM, Philip Bridson wrote:

I know that you can set whether a button is Disabled/Enabled in IB but how do I change it programmatically so that I can do it in runtime? I have searched the API and Documentation but I can't seem to find a method for doing it.

Remember inheritance...
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSControl_Class/Reference/Reference.html#//apple_ref/occ/instm/NSControl/setEnabled: >


mmalc

_______________________________________________

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


References: 
 >How do I programmatically disable/enable an NSButton (From: Philip Bridson <email@hidden>)

  • Prev by Date: Re: How do I programmatically disable/enable an NSButton
  • Next by Date: Re: "Easter Egg" style key combination changes
  • Previous by thread: Re: How do I programmatically disable/enable an NSButton
  • Next by thread: Re: How do I programmatically disable/enable an NSButton
  • Index(es):
    • Date
    • Thread