Setting current menu item for NSPopupButton from menu delegate?
Setting current menu item for NSPopupButton from menu delegate?
- Subject: Setting current menu item for NSPopupButton from menu delegate?
- From: Mark Alldritt <email@hidden>
- Date: Fri, 07 Jan 2005 15:14:52 -0800
Hi,
I have an NSPopUpButton that displays a dynamically generated menu. I build
the menu from a menu delegate. The problem is that I cannot control
NSPopUpButton's selected menu item from the menu delegate. Calling
NSPopUpButton's selectItem or selectItemAtIndex has no effect (until the
next use of the NSPopUpButton).
Does anyone have any ideas on how to accomplish this?
Cheers
-Mark
------------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 Script Debugger 3.0 - AppleScript IDE
WEB: http://www.latenightsw.com/ Affrus 1.0 - Perl Debugging
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden