• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: shortcut for selecting in NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: Re: NSURLConnection leaking on multi-threaded apps?
  • Next by Date: Re: NSURLConnection leaking on multi-threaded apps?
  • Previous by thread: shortcut for selecting in NSPopUpButton
  • Next by thread: UInt8 > NSString
  • Index(es):
    • Date
    • Thread