• 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: Disabling menu item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling menu item


  • Subject: Re: Disabling menu item
  • From: Graham Cox <email@hidden>
  • Date: Tue, 12 May 2009 15:08:33 +1000


On 11/05/2009, at 4:53 PM, Nikhil Khandelwal wrote:

I want to disable the complete menu item means it should not show any submenu when clicked on. Like in any application if I disable the file menu it should get disabled and not show any submenu related to it.


If the parent item of a submenu is disabled, it doesn't show the submenu. So you could detect when all items in the menu were disabled and disable the parent, but this isn't done as standard - the usual UI is that a submenu's parent is always available even if it doesn't lead to anything you can actually choose. I guess this reflects the "road map" paradigm of menus as explained in the HIG.

--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: 
 >Disabling menu item (From: Nikhil Khandelwal <email@hidden>)

  • Prev by Date: Re: quick and dirty NSData implosion
  • Next by Date: Re: instance management in IB
  • Previous by thread: Disabling menu item
  • Next by thread: IKImageBrowserView is not reloading data.
  • Index(es):
    • Date
    • Thread