• 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: How to disable clicking parent menu item without disabling it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to disable clicking parent menu item without disabling it?


  • Subject: RE: How to disable clicking parent menu item without disabling it?
  • From: Dany Golubitsky <email@hidden>
  • Date: Tue, 27 Dec 2011 02:36:44 -0500
  • Acceptlanguage: en-US
  • Thread-topic: How to disable clicking parent menu item without disabling it?

Thank you!

It seems to work.
Action was not set to anything, I just needed to set it for 0 in items having submenu.

Regards.


-----Original Message-----
From: Keary Suska [mailto:email@hidden]
Sent: Monday, December 26, 2011 18:00
To: Dany Golubitsky
Cc: Cocoa-Dev List
Subject: Re: How to disable clicking parent menu item without disabling it?

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

References: 
 >CoreData inconsistency caching error snafu (From: Alexander Reichstadt <email@hidden>)
 >Re: CoreData inconsistency caching error snafu (From: Alexander Reichstadt <email@hidden>)
 >How to disable clicking parent menu item without disabling it? (From: Dany Golubitsky <email@hidden>)
 >Re: How to disable clicking parent menu item without disabling it? (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: what is at table's "index row limit" in the nib editor?
  • Next by Date: Re: what is at table's "index row limit" in the nib editor?
  • Previous by thread: Re: How to disable clicking parent menu item without disabling it?
  • Next by thread: Text system glitch - lines across text view
  • Index(es):
    • Date
    • Thread