Article View: comp.sys.next.programmer
Article #821Re: setting a button key to be ESC
From: Scott Hess
Date: Mon, 07 Sep 1992 16:05
Date: Mon, 07 Sep 1992 16:05
21 lines
1623 bytes
1623 bytes
In article <1992Sep7.150548.8473@next.cambridge.ma.us> simsong@next.cambridge.ma.us (Simson L. Garfinkel) writes: >In article <Bu68tK.37L@cs.psu.edu> > grio@colossus.cs.psu.edu (Daniel L Grillo) writes: >> I should have been more explict. A button in a _Panel_ can have a key >> equivalent that is not a command key. Keys like "d" and "." work fine. >> I was hoping there was a way to use ESC, without subclassing Panel. > >What makes you think this? NeXT's Calculator demo? Their Panel >subclass turns all keypresses into Command keypresses. What gave it away to me is when I ran IB, pulled in a Panel, but a Button on it, made the Key for it a 'd', and then did a Run/Test. Pressing d caused the Button to flash, regardless of whether I had Command down or not. [Really, try it, it works.] Later, -- scott hess <shess@ssesco.com> <Who achieved programmer nirvana on Aug 11th> 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Anytime! <Text: One Class to bring them all and in the darkness bind them ...>
Technical Details
Message-ID:
<SCOTT.92Sep7160540@nic.gac.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!sdd.hp.com!nigel.msen.com!spool.mu.edu!umn.edu!msus1.msus.edu!gacvx2.gac.edu!gacvax2!scottReferences:
<Bu68tK.37L@cs.psu.edu> <1992Sep7.150548.8473@next.cambridge.ma.us>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!sdd.hp.com!nigel.msen.com!spool.mu.edu!umn.edu!msus1.msus.edu!gacvx2.gac.edu!gacvax2!scott Newsgroups: comp.sys.next.programmer Subject: Re: setting a button key to be ESC Message-ID: <SCOTT.92Sep7160540@nic.gac.edu> From: scott@nic.gac.edu (Scott Hess) Date: 7 Sep 92 16:05:40 References: <Bu68tK.37L@cs.psu.edu> <1992Sep7.150548.8473@next.cambridge.ma.us> Organization: Gustavus Adolphus College Nntp-Posting-Host: nic.gac.edu In-reply-to: simsong@next.cambridge.ma.us's message of 7 Sep 92 15:05:48 GMTLines: 21 Lines: 21