• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Enabling a Menu item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >slipping NSViews as a NSSplit view under existing window contents. (From: Jaime Magiera <email@hidden>)
 >Enabling a Menu item (From: Steffen Börner <email@hidden>)

  • Prev by Date: Dirty document at startup
  • Next by Date: Re: Confusing terms - menu/menubar
  • Previous by thread: Enabling a Menu item
  • Next by thread: [MEET] January CocoaHeads Meetings
  • Index(es):
    • Date
    • Thread