home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6038 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.6 KB

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