FROM : Keary Suska
DATE : Sun Jun 08 18:11:19 2008
6/7/08 10:21 PM, also sprach jamierphelps+<email_removed>:
> I have an NSPopupButton bound to an NSArrayController to provide
> options for the user to select from. What I would like to do is have
> one option (probably the first item) in the popup for the user to
> select that would allow them to create a new object if it doesn't yet
> exist.
>
> Is this possible with NSPopupButton or should I just include a button
> to display a panel for adding the new item?
Since the items in a popup are NSMenuItems, you should be able to set the
action of an item...
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
DATE : Sun Jun 08 18:11:19 2008
6/7/08 10:21 PM, also sprach jamierphelps+<email_removed>:
> I have an NSPopupButton bound to an NSArrayController to provide
> options for the user to select from. What I would like to do is have
> one option (probably the first item) in the popup for the user to
> select that would allow them to create a new object if it doesn't yet
> exist.
>
> Is this possible with NSPopupButton or should I just include a button
> to display a panel for adding the new item?
Since the items in a popup are NSMenuItems, you should be able to set the
action of an item...
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
| Related mails | Author | Date |
|---|---|---|
| Jamie Phelps | Jun 8, 06:21 | |
| Keary Suska | Jun 8, 18:11 |






Cocoa mail archive

