• 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 display a Menu for a popup button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to display a Menu for a popup button?


  • Subject: Re: How to display a Menu for a popup button?
  • From: Seth Willits <email@hidden>
  • Date: Sun, 19 Dec 2004 12:36:13 -0800
  • Resent-date: Sun, 19 Dec 2004 12:45:45 -0800
  • Resent-from: Seth Willits <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: Cocoa Dev <email@hidden>

On Dec 19, 2004, at 12:30 PM, Manfred Schubert wrote:

I would like to make a popup button, so I need to display a menu at the bottom left of the button (in Carbon this would be PopupMenuSelect() ). How can I do this?

Create an NSPopUpButton.


General menu discussion including popup buttons:
http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/ index.html#//apple_ref/doc/uid/10000032i


NSPopUpButton reference:
http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSPopUpButton.html#//apple_ref/occ/ cl/NSPopUpButton





Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic


"There are 10 types of people in this world - those that understand binary
and those that don't."
------------------------------------------------------------------------ ---


_______________________________________________
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


  • Prev by Date: Re: Contextual menu for Text fields/views?
  • Next by Date: NSArrayController and threading
  • Previous by thread: How to display a Menu for a popup button?
  • Next by thread: Contextual menu for Text fields/views?
  • Index(es):
    • Date
    • Thread