Re: Enabling/Disabling Buttons
Re: Enabling/Disabling Buttons
- Subject: Re: Enabling/Disabling Buttons
- From: Raphael Sebbe <email@hidden>
- Date: Tue, 14 Aug 2001 10:43:25 +0200
[myButton setEnabled:YES/NO];
It is defined in NSControl class, of which NSButton is a subclass.
Raphael
On Tuesday, August 14, 2001, at 07:05 AM, Farl wrote:
Cannot seem to find the code to this anywhere. And certainly not in the
docs.
I need to disable a button until a certain set of events has occured.
Then it should be enabled until it is used, and then disabled again. In
refering to enable/disable, i mean where you can still see the button,
but it is greyed out, so you cannot press it.
What is the command call?
Does it need an outlet/action to be created especially for this?
Any help is appreciated