Re: Talking to FirstResponder
Re: Talking to FirstResponder
- Subject: Re: Talking to FirstResponder
- From: Sherm Pendley <email@hidden>
- Date: Sat, 11 Jan 2003 19:07:15 -0500
On Saturday, January 11, 2003, at 06:47 PM, Colin Jackson wrote:
Anyway, so here is the problem. I need to perform actions on whatever
the FirstResponder is every-so-often. It's easy enough to attach a
button to a FirstResponder in IB but how can I call the same set of
actions from within the program?
Check out NSApplication's sendAction:to:from: method. If the target is
nil, it sends the requested action through the responder chain.
sherm--
UNIX: Where /sbin/init is Job 1.
_______________________________________________
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.