Re: Auto enable/disable buttons...
Re: Auto enable/disable buttons...
- Subject: Re: Auto enable/disable buttons...
- From: Yann Bizeul <email@hidden>
- Date: Tue, 20 Jul 2004 22:53:06 +0200
You can override - (BOOL)becomeFirstResponder and -
(BOOL)resignFirstResponder of NSResponder (your NSView) and update
NSButton according to this.
Le 20 juil. 04, ` 20:44, Douglas A. Welton a icrit :
>
Hi All,
>
>
I have a button on my user interface that I would like to automatically
>
enable or disable based on which interface view is the current first
>
responder. Would someone give me a pointer (or even better sample
>
code) to
>
the best way of going about doing this?
>
>
curiously,
>
>
douglas
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
>
>
>
--
Yann Bizeul - yann at tynsoe.org
http://projects.tynsoe.org/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.