• 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: "About" menu item is greyed out.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "About" menu item is greyed out.


  • Subject: Re: "About" menu item is greyed out.
  • From: Graham Cox <email@hidden>
  • Date: Sat, 21 May 2011 09:50:25 +1000

On 21/05/2011, at 8:20 AM, JAMES ROGERS wrote:

> IB Inspector indicates the item is enabled. But when I build and run the app, it is greyed out.
> I am new to cocoa development and have no idea where to look other than IB.


Is the menu item connected to an action? The default action should be -orderFrontStandardAboutPanel:, and the target is 'Files Owner' of MainMenu.xib, in other words, the application.

If this wiring is not there, the item will be greyed out. If this wiring is different, it will be greyed out if the target object does not implement the action, or if the target object implements the -validateUserInterfaceItem: protocol and does not specifically enable the item (given that you're just starting, this latter scenario seems very unlikely to be the cause).

Highlight the menu item in IB and look at its connections in the Inspector's 'Sent Actions' section (or right-click).

--Graham_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >"About" menu item is greayed out. (From: JAMES ROGERS <email@hidden>)

  • Prev by Date: "About" menu item is greayed out.
  • Next by Date: Re: Fire-and-forget controllers with blocks
  • Previous by thread: "About" menu item is greayed out.
  • Next by thread: Re: "About" menu item is greayed out.
  • Index(es):
    • Date
    • Thread