Re: How do I link a menu item to 'any' method in my WindowController?
Re: How do I link a menu item to 'any' method in my WindowController?
- Subject: Re: How do I link a menu item to 'any' method in my WindowController?
- From: Lance Bland <email@hidden>
- Date: Fri, 8 Mar 2002 07:52:46 -0500
On Friday, March 8, 2002, at 07:22 AM, Gerben Wierda wrote:
But what if I need to connect a menu item to a method that is not
already defined when I look at the possible targets when I connect the
menu item? Say, I want to connect a menu item to my window controller's
foo:(id)sender method? How do I do that?
Go to IB, click on the first responder icon in the Instance tab-view,
double click, (type apple-1 to bring up the inspector if needed), click
the + symbol in the action table and rename the focused row to foo:
i.e.: You can add actions to the First Responder "instance" (hook).
-lance
_______________________________________________
Lance Bland
System Administrator at VVI
mailto:email@hidden
http://www.vvi.com
Realtime, bulk and web data reporting and visualization
_______________________________________________
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.