Re: Enabling a Menu item
Re: Enabling a Menu item
- Subject: Re: Enabling a Menu item
- From: August Trometer <email@hidden>
- Date: Thu, 4 Jan 2007 11:02:16 -0500
You need to make it "do" something. In other words, you need to hook
it up to an action. Without an action, it's disabled by default.
You might also want to read this...
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSMenuValidation_Protocol/Reference/Reference.html
August
On Jan 4, 2007, at 10:23 AM, Steffen Börner wrote:
Hi guys,
I went through the following tutorial for exporting pdfs:
http://cocoadevcentral.com/articles/000074.php
Now I want to implement this feature in my app which is based on the
Cocoa Application Template in XCode. Now 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.
Thanks
Steffen
_______________________________________________
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