Re: Enabling a Menu item
Re: Enabling a Menu item
- Subject: Re: Enabling a Menu item
- From: Paul Borokhov <email@hidden>
- Date: Thu, 4 Jan 2007 13:39:13 -0800
There's no need to validate anything. You have to connect the menu item to the controller in IB. That's def not obscure.
Paul
----------Original Message----------
On 1/4/07 16:20 , Dave Fernandes (email@hidden) wrote:
>
> On Jan 4, 2007, at 11:49 AM, Matt Neuburg wrote:
>
>> On Thu, 4 Jan 2007 15:23:10 +0000, Steffen B?rner
>> <email@hidden> said:
>>> I added a new menu item to
>>> the File menu in interface builder. But now I'm stuck. How do I
>>> enable the item so it can be clicked? Atm. it is greyed out.
>>
>> Oh, come on - you're not even *trying* to read the docs. This is really too
>> much. Don't we have *any* rules on this list about this sort of thing? Or
>> even a New Years Resolution?
>
> That's a bit harsh. Mention of this protocol is brief and not
> terribly obvious in the docs. The place I eventually found it was in
> Developer/Examples/AppKit/MenuMadness/. If you checkout the Help docs
> for NSMenu and NSMenuItem, there is no pointer to the validation
> protocol page. The brief reference I found was in Cocoa Fundamentals
> (2006-10-03) p. 199.
>
>>
>> But anyway, here:
>>
>> <http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/Tasks/En
>> ablingMenuItems.html>
>>
>> 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>
>>
>>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden