• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to add multiple-selection pull-down menu in IB?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >how to add multiple-selection pull-down menu in IB? (From: Paul Chinn <email@hidden>)
 >Re: how to add multiple-selection pull-down menu in IB? (From: Justin Anderson <email@hidden>)
 >Re: how to add multiple-selection pull-down menu in IB? (From: Paul Chinn <email@hidden>)

  • Prev by Date: Re: DO and Sleep
  • Next by Date: Detecting volumes & types
  • Previous by thread: Re: how to add multiple-selection pull-down menu in IB?
  • Next by thread: Stack unwinding with Objective C++
  • Index(es):
    • Date
    • Thread