How to get selection of submenu
How to get selection of submenu
- Subject: How to get selection of submenu
- From: "Chen, Jeff" <email@hidden>
- Date: Thu, 23 Aug 2007 10:31:22 +0800
Hi All,
I met with a issue when I handle sub menu of NSPopupButton:
I create a NSPopupButton, and I also drag a NSMenu into nib file, on this menu there is submenu to 2nd item, then I attach that menu to NSPopupButton.
But I can't get selection when I select items in submenu. I use - indexOfSelectedItem for NSPopupButton to get selection.
But it only takes effect to the mainmenu but not to the submenu.
Is there anyone who knows how to get selection from sub menu?
Best Regards
Jeff Chen
_______________________________________________
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