home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 15971 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.8 KB

  1. Path: sparky!uunet!cbmvax!peter
  2. From: peter@cbmvax.commodore.com (Peter Cherna)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: A Style Guide Question
  5. Message-ID: <37104@cbmvax.commodore.com>
  6. Date: 17 Nov 92 16:31:21 GMT
  7. References: <17474@pitt.UUCP> <mwm.2nu7@contessa.palo-alto.ca.us>
  8. Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
  9. Organization: Commodore-Amiga, Inc.  West Chester, PA.
  10. Lines: 34
  11.  
  12. In article <mwm.2nu7@contessa.palo-alto.ca.us> mwm@contessa.palo-alto.ca.us (Mike Meyer) writes:
  13. >4.) Add menu items Done and Cancel that are identical to the buttons,
  14. >    and have the shortcuts be Amiga-D and Amiga-C.
  15.  
  16. This is not a good idea.  First of all, Amiga-C is the _standard_ key
  17. equivalent for "copy to clipboard".  Let's try not to abuse those
  18. standards that have appeared in at least some number of apps.
  19.  
  20. Second, the fact that menu keys are processed while string gadgets
  21. are active is effectively a "bug" in Intuition 1.3 and earlier.  2.0
  22. and higher Intuition cannot readily support this.  (Note that I called
  23. it a bug.  I'm not saying that the bug produces undesirable behavior).
  24.  
  25. There needs to be some modeless way to strike the key-equivalent for
  26. a gadget even while a string gadget is active.  There isn't a good
  27. universal way right now.
  28.  
  29. The Amiga Style Guide addresses this problem by recommending that
  30. <ENTER> in a string gadget deactivate the string gadget but not close
  31. the window or take any other drastic action.  The idea is that <ENTER>
  32. followed by "D" or "C" would have the desired effect.
  33.  
  34. Any better solution requires additional support from the OS.
  35.  
  36. >    <mike
  37.  
  38.      Peter
  39. --
  40. Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
  41. {uunet|rutgers}!cbmvax!peter    peter@cbmvax.commodore.com
  42. My opinions do not necessarily represent the opinions of my employer.
  43. "I believe it's bad luck to be superstitious."
  44.  
  45.  
  46.