Re: NSPopUpButton Limitation?
Re: NSPopUpButton Limitation?
- Subject: Re: NSPopUpButton Limitation?
- From: Gideon King <email@hidden>
- Date: Thu, 17 May 2001 21:30:41 +0800
The action method that your menu calls will be sent a message with a
single arg, which is the sender - i.e. the menu item that was clicked.
----------
Gideon.
On Thursday, May 17, 2001, at 07:34 PM, Steve Gehrman wrote:
NSPopupButton seems to break when you try to use it with a menu that
has submenus. The menu looks good and all the submenus popup
correctly, but I can't find a way to find out which item was selected.
The methods to get the selected item don't seem to work on submenus.
If I want a NSPopupButton with submenus, is it possible? Is it
possible to subclass NSPopupButton and make this work? How could I
create a menu, pop it up when the user clicked and figure out which
item was selected?
steve
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev