• 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: John Stiles <email@hidden>
  • Date: Fri, 17 Aug 2007 07:23:31 -0700

Probably the window eats Esc and reroutes it to the window's default cancel button, because that is what Esc does on Mac OS.
Surprising that it would eat the Esc even if there is no default cancel button.



On Aug 16, 2007, at 11:43 PM, Stephan Burlot wrote:

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:
40blizzard.com


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


References: 
 >"Esc" doesn't work as a menu item key equivalent (From: Nicolas Seriot <email@hidden>)
 >Re: "Esc" doesn't work as a menu item key equivalent (From: Stephan Burlot <email@hidden>)

  • Prev by Date: Re: Inheritance question
  • Next by Date: Re: OutlineView Column Problem
  • Previous by thread: Re: "Esc" doesn't work as a menu item key equivalent
  • Next by thread: OutlineView Column Problem
  • Index(es):
    • Date
    • Thread