Re: Popup Menu
Re: Popup Menu
- Subject: Re: Popup Menu
- From: Thomas Lachand-Robert <email@hidden>
- Date: Fri, 11 Jan 2002 08:36:03 +0100
- Resent-date: Fri, 11 Jan 2002 08:36:32 +0100
- Resent-from: Thomas Lachand-Robert <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
Le vendredi 11 janvier 2002, ` 07:10 , Ben Mackin a icrit :
I have created a popup menu in Interface Builder, and now want to get
information out of it. I searched Apples website for NSPopUpButton
(which I got from IB), but nothing came up. I tried a serach for just
popup, but got a lot of carbon references.
Look on your own hard disk (here the Obj-C version):
file://localhost/System/Library/Frameworks/AppKit.framework/Versions/C/Resources/
English.lproj/Documentation/Reference/ObjC_classic/Classes/NSPopUpButton.html
All I want to know is how do I find out which option has been selected
(what is returned, the menu item number or the menu's name as a string?),
and how can I set which menu item is choosen.
Chances are I just have not looked hard enough on Apple's site.
Yes.
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.