Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I programmatically disable/enable an NSButton



On Jan 20, 2008 1:28 PM, Philip Bridson <email@hidden> wrote:
> Hi there,
>
> 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.

-[NSButton setEnabled:] (inherited from NSControl).

It's really not that hard to find... and it's a quite logical method...

--Kyle Sluder
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.