Re: shortcut for selecting in NSPopUpButton
Re: shortcut for selecting in NSPopUpButton
- Subject: Re: shortcut for selecting in NSPopUpButton
- From: Mike Abdullah <email@hidden>
- Date: Mon, 5 Mar 2007 11:33:15 +0000
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:
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:
This email sent to email@hidden