Re: Enabling/Disabling Buttons
Re: Enabling/Disabling Buttons
- Subject: Re: Enabling/Disabling Buttons
- From: "Erik M. Buck" <email@hidden>
- Date: Tue, 14 Aug 2001 11:40:24 -0500
RTFM
http://www.google.com/search?as_q=NSControl+setEnabled:&num=100&btnG=Googl
e+Search&as_epq=&as_oq=&as_eq=&lr=&as_qdr=all&as_occt=any&as_dt=i&as_sitesea
rch=&safe=off
<Quote>
setEnabled:
- (void)setEnabled:(BOOL)flag
Sets whether the receiver's cell-or if there is no associated cell, the
NSControl itself-is active (that is, whether it tracks the mouse and sends
its action to its target). If flag is NO, any editing is aborted. Redraws
the entire control if autodisplay is enabled. Subclasses may want to
override this method to redraw only a portion of the control when the
enabled state changes, as do NSButton and NSSlider.
See Also: - isEnabled
<End Quote>
----- Original Message -----