• 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: "Esc" doesn't work as a menu item key equivalent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Esc" doesn't work as a menu item key equivalent


  • Subject: Re: "Esc" doesn't work as a menu item key equivalent
  • From: Stephan Burlot <email@hidden>
  • Date: Fri, 17 Aug 2007 08:43:00 +0200

Hi,

The Esc key is recognized in your app if you close the window.

So the Esc key must be eaten in the responder chain. I didn't investigate further, but it should be rather easy to fix.

I will not argue about the fact that the Esc key is not a good choice for a menu key.

Stephan

Le 17 août 07 à 03:07, Nicolas Seriot a écrit :

Hello,

In InterfaceBuilder, I set Escape (\E) as a key equivalent for my menu item.

When I hit escape, the relative IBAction is not called.

However, Fn-Esc calls it, on my MacBook Pro keyboard.

How can I have 'esc' work as a key equivalent ?

Minimal project demonstrating the problem : http://seriot.ch/temp/ MenuEscKey.zip

Thank you.

--
Nicolas Seriot
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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:
40coriolis.ch


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: "Esc" doesn't work as a menu item key equivalent
      • From: John Stiles <email@hidden>
References: 
 >"Esc" doesn't work as a menu item key equivalent (From: Nicolas Seriot <email@hidden>)

  • Prev by Date: RE: How to enable menu items for the submenu of NSPopupButton?
  • Next by Date: Re: How to enable menu items for the submenu of NSPopupButton?
  • Previous by thread: "Esc" doesn't work as a menu item key equivalent
  • Next by thread: Re: "Esc" doesn't work as a menu item key equivalent
  • Index(es):
    • Date
    • Thread