Skip navigation.
 
mlRe: How to display a Menu for a popup button?
FROM : Seth Willits
DATE : Sun Dec 19 21:36:13 2004

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."
------------------------------------------------------------------------
---

Related mailsAuthorDate
mlHow to display a Menu for a popup button? Manfred Schubert Dec 19, 21:30
mlRe: How to display a Menu for a popup button? Seth Willits Dec 19, 21:36