• 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 enable menu items for the submenu of NSPopupButton?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to enable menu items for the submenu of NSPopupButton?


  • Subject: RE: How to enable menu items for the submenu of NSPopupButton?
  • From: "Chen, Jeff" <email@hidden>
  • Date: Fri, 17 Aug 2007 14:27:30 +0800

Hi,

Thank you for your instruction! Now it works.

And do you know how I can get selection from sub menu?

Best Regards
Jeff Chen

-----Original Message-----
From: Andrew Farmer [mailto:email@hidden]
Sent: Friday, August 17, 2007 12:31 PM
To: Chen, Jeff
Cc: email@hidden; Yu, Min; Gu, Kevin
Subject: Re: How to enable menu items for the submenu of NSPopupButton?


On 16 Aug 07, at 20:57, Chen, Jeff wrote:
> I've met with a issue about menuitem of sub menu:
>
> I create a NSPopupButton, and I	want to add sub menu to the 3rd
> menu item, but in the added sub menu all menu items are disabled.
<snip>

You need to assign targets and actions to those menu items for them
to be selectable.
_______________________________________________

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: 
 >Re: How to enable menu items for the submenu of NSPopupButton? (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: How to enable menu items for the submenu of NSPopupButton?
  • Next by Date: Re: "Esc" doesn't work as a menu item key equivalent
  • Previous by thread: Re: How to enable menu items for the submenu of NSPopupButton?
  • Next by thread: Re: How to enable menu items for the submenu of NSPopupButton?
  • Index(es):
    • Date
    • Thread