• 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
Menu item enabling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Menu item enabling


  • Subject: Menu item enabling
  • From: Daniel Luis dos Santos <email@hidden>
  • Date: Thu, 23 Jun 2011 17:17:50 +0100

Hello,

I have a submenu of the File menu that gets loaded with menu items on awakeFromNib().
Problem is that the method that does the menu item enabling is not being called on the submenu's items and so they are not enabled.

I implemented the validateUserInterfaceItem() method in a class and have set the target of the created menu items to that class.
It gets called for every menu item except the one with the submenu. If I expand the submenu it doesn't get called.
What am I missing ?

Regards
Daniel

_______________________________________________

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

  • Follow-Ups:
    • Re: Menu item enabling
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Using NSScrollView to scroll Infinitely
  • Next by Date: Re: Animating handwriting
  • Previous by thread: Using NSScrollView to scroll Infinitely
  • Next by thread: Re: Menu item enabling
  • Index(es):
    • Date
    • Thread