Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shortcut for selecting in NSPopUpButton



The same way you do for any other menu item. Double-click the popup in IB, select a menu item, and use the Inspector to set a shortcut. Bear in mind that anything in the main menu bar with the same keyboard combination will override it.

Mike.

On 5 Mar 2007, at 08:02, email@hidden wrote:

        Hello all,

 I have a question on pop-up menus (class NSPopUpButton) : how do you
implement
a "shortcut" for a given item of such a menu (exactly as ?+D directly
selects the
"Desktop" item in a save menu) ?


Ewan



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev% 40mikeabdullah.net


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >shortcut for selecting in NSPopUpButton (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.