🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #785

Re: setting a button key to be ESC

#785
From: Simson L. Garfinkel
Date: Sun, 06 Sep 1992 14:55
15 lines
1034 bytes
In article <Bu33xu.7x3@cs.psu.edu> grio@postscript.cs.psu.edu (Daniel L Grillo)  
writes:
> 
> In the IB inspector, I'd like to set a button's key equivalent to be ESC.
> I can't get it to work.
> 

Since key equivalents can only be command keys, and not the ESC key, you're out  
of luck, unless you want the button to be command-ESC.

You could subclass the Window object, override the keyDown: method, and turn  
ESC into some command- key.
-- 

................................................................simson
Technical Details
Message-ID: <1992Sep6.145546.7044@next.cambridge.ma.us>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!snorkelwacker.mit.edu!ai-lab!next.cambridge.ma.us!simsong
References: <Bu33xu.7x3@cs.psu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!snorkelwacker.mit.edu!ai-lab!next.cambridge.ma.us!simsong
From: simsong@next.cambridge.ma.us (Simson L. Garfinkel)
Newsgroups: comp.sys.next.programmer
Subject: Re: setting a button key to be ESC
Message-ID: <1992Sep6.145546.7044@next.cambridge.ma.us>
Date: 6 Sep 92 14:55:46 GMT
References: <Bu33xu.7x3@cs.psu.edu>
Sender: simsong@next.cambridge.ma.us
Reply-To: simsong@next.cambridge.ma.us
Organization: Simson Garfinkel and Associates, Inc.
Lines: 15