Re: firstResponder help
Re: firstResponder help
- Subject: Re: firstResponder help
- From: James Mooney <email@hidden>
- Date: Fri, 28 Mar 2003 14:15:09 -0500
Sending a message to "firstResponder" means sending a message to the
responder chain.
Red Light - GREEN LIGHT.........thank you so much......
What are the dark and light actions is the list designate..... why is
one dark and one light.
In the example I mention, calls newDocument: but it is light colored.
?? What is the difference.
On Friday, March 28, 2003, at 02:01 PM, John Hvrnkvist wrote:
First Responder is just a "proxy", not a real object. It's a
representation of the responder chain in Interface Builder.
Sending a message to "firstResponder" means sending a message to the
responder chain. The message will be sent to the first object in the
chain which implements the method.
Typically that means something like View -> .... -> Window ->
Application
Programatically, setting a target to first responder is done by
setting the target to nil; eg [menuItem setTarget:nil].
Look at:
initialFirstResponder
setInitialFirstResponder:
nextResponder
resignFirstResponder
becomeFirstResponder
...
Regards,
John Hornkvist
_______________________________________________
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.