Re: how to add multiple-selection pull-down menu in IB?
Re: how to add multiple-selection pull-down menu in IB?
- Subject: Re: how to add multiple-selection pull-down menu in IB?
- From: Justin Anderson <email@hidden>
- Date: Sun, 6 Nov 2005 23:12:21 -0500
What you're describing is a pull down menu, which is a kind of
NSPopUpButton. To make a pull down menu in IB, go to the inspector
panel for an NSPopUpButton, and change its type to "PullDown". At the
bottom of the inspector, you can set the static title of the pull
down menu and other aspects of its appearance.
Justin
On Nov 6, 2005, at 8:23 PM, Paul Chinn wrote:
Actually, before even dealing with how to implement the backing
code, I don't even see how to create the GUI element itself. The
NSPopUpButton widget and class (which Mail.app appears to use)
looks like it only allows a single selected item, and will display
the current selection as the contents of the button.
So I'm trying to figure out how to create one that displays a non-
changing title in the button, then drops down a menu with various
selected choices.
--paul
_______________________________________________
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