Display selectd sub-menuItem in NSPopUpButton
Display selectd sub-menuItem in NSPopUpButton
- Subject: Display selectd sub-menuItem in NSPopUpButton
- From: Leonardo <email@hidden>
- Date: Fri, 14 Feb 2014 13:02:51 +0100
- Thread-topic: Display selectd sub-menuItem in NSPopUpButton
I have filled my NSPopUpButton with menu and submenus.
When I select a menuItem on the root menu (so, not a sub-menuItem), it
propery displays the menuItem selected. And when I re-click on the popUp
button, I get the selected menuItem under the mouse.
But if I select a sub-menuItem, it doesn't display it. And if I re-click on
the popUp button, I don't get it under the mouse. Any time I click on the
button, I have to look for the selected item diving in the menu hierarchy.
Any solution?
Regards
-- Leonardo
_______________________________________________
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