Re: adding action names in FirstResponder : MyDocument.nib vs. MainMenu.nib
Re: adding action names in FirstResponder : MyDocument.nib vs. MainMenu.nib
- Subject: Re: adding action names in FirstResponder : MyDocument.nib vs. MainMenu.nib
- From: Matt Neuburg <email@hidden>
- Date: Tue, 27 Jun 2006 08:21:44 -0700
- Thread-topic: adding action names in FirstResponder : MyDocument.nib vs. MainMenu.nib
On Tue, 27 Jun 2006 13:17:07 +0200 (CEST), email@hidden said:
> I noticed that in a Cocoa document-based project, inside MyDocument.nib it
>is possible to add new action names to FirstResponder (there is a button
>for that),
>but this is not possible with MainMenu.nib. Is there a special reason for
>that ?
No, because it isn't true. You can add actions to FirstResponder in any nib.
Double-click the First Responder icon in the nib's main window, and press
command-1. Switch the control at the top of the inspector to the Actions
option (it will say something like "81 Actions"). Now you can press the Add
button at the bottom of the inspector.
Possibly you are confused because you are looking at the Outlets, not the
Actions...? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden