RE: How to enable menu items for the submenu of NSPopupButton?
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