Re: How to disable clicking parent menu item without disabling it?
Re: How to disable clicking parent menu item without disabling it?
- Subject: Re: How to disable clicking parent menu item without disabling it?
- From: Keary Suska <email@hidden>
- Date: Mon, 26 Dec 2011 09:00:12 -0700
On Dec 26, 2011, at 8:39 AM, Dany Golubitsky wrote:
> I want to disable some of parent top menu links with sub-menus, so that when I click at the root top nothing should happen until I navigate and click to its sub menus for specific action.
>
> For example, In Cocoa, if I have menu File -> Recent -> "...Recent files list...." , I can press "Recent". I want to prevent pressing "Recent". Can I do it?
I don't know if I understand you correctly but any menu item without a target/action will do nothing when clicked, unless it has a sub-menu in which case it reveals its submenu.
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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