Re: How to display a Menu for a popup button?
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