home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
-