Article View: comp.sys.next.programmer
Article #864Re: setting a button key to be ESC
From: Daniel L Grillo
Date: Wed, 09 Sep 1992 02:19
Date: Wed, 09 Sep 1992 02:19
19 lines
1296 bytes
1296 bytes
In article <1992Sep7.150548.8473@next.cambridge.ma.us> simsong@next.cambridge.ma.us 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. Uh, fired up IB, grabbed a Window, put 2 buttons on it. Set keys for each. Run it. Non-command keys do nothing. Move the buttons to a Panel. Run it. Non-command keys work. --Dan -- Dan Grillo grio@cs.psu.edu [NeXTmail, PrivateMail, MIME welcome]
Technical Details
Message-ID:
<BuAH3q.BMB@cs.psu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!psuvax1!postscript.cs.psu.edu!grioReferences:
<Bu68tK.37L@cs.psu.edu> <1992Sep7.150548.8473@next.cambridge.ma.us>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!psuvax1!postscript.cs.psu.edu!grio From: grio@postscript.cs.psu.edu (Daniel L Grillo) Subject: Re: setting a button key to be ESC Message-ID: <BuAH3q.BMB@cs.psu.edu> Sender: news@cs.psu.edu (Usenet) Nntp-Posting-Host: postscript.cs.psu.edu Organization: Penn State Computer Science References: <Bu68tK.37L@cs.psu.edu> <1992Sep7.150548.8473@next.cambridge.ma.us> Date: Wed, 9 Sep 1992 02:19:01 GMT Lines: 19