Re: "Esc" doesn't work as a menu item key equivalent
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