Skip navigation.
 
mlRe: How do I programmatically disable/enable an NSButton
FROM : Kyle Sluder
DATE : Sun Jan 20 19:35:48 2008

On Jan 20, 2008 1:28 PM, Philip Bridson <<email_removed>> 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

Related mailsAuthorDate
mlHow do I programmatically disable/enable an NSButton Philip Bridson Jan 20, 19:28
mlRe: How do I programmatically disable/enable an NSButton Clark Cox Jan 20, 19:31
mlRe: How do I programmatically disable/enable an NSButton mmalc crawford Jan 20, 19:32
mlRe: How do I programmatically disable/enable an NSButton Philip Bridson Jan 20, 19:35
mlRe: How do I programmatically disable/enable an NSButton Kyle Sluder Jan 20, 19:35
mlRe: How do I programmatically disable/enable an NSButton Bertil Holmberg Jan 20, 22:19