Re: Talking to FirstResponder
Re: Talking to FirstResponder
- Subject: Re: Talking to FirstResponder
- From: Colin Jackson <email@hidden>
- Date: Sun, 12 Jan 2003 00:11:47 +0000
Excellent. Thank you.
Colin
On Sunday, January 12, 2003, at 12:07 am, Sherm Pendley wrote:
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.