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

  1. Path: sparky!uunet!decwrl!contessa!mwm
  2. From: mwm@contessa.palo-alto.ca.us (Mike Meyer)
  3. Subject: Re: A Style Guide Question
  4. Newsgroups: comp.sys.amiga.programmer
  5. Distribution: world
  6. References: <17474@pitt.UUCP>
  7. X-NewsSoftware: Amiga Yarn 3.4, 1992/08/12 15:49:52
  8. Keywords: 
  9. Summary: 
  10. Message-ID: <mwm.2nu7@contessa.palo-alto.ca.us>
  11. Date: 15 Nov 92 23:08:02 PST
  12. Organization: Missionaria Phonibalonica
  13. Lines: 45
  14.  
  15. In <17474@pitt.UUCP>, dan@cs.pitt.edu (Dan Drake) wrote:
  16. > This is a style guide question.
  17. > To be consistent in my user interface, I am using buttons called done and 
  18. > cancel, that reside in all of my windows.  I want the user to be able to
  19. > activate these buttons through their keyboard equivalents: eg d for done, 
  20. > and c for cancel.  Now on several of these windows, I want the user to type
  21. > text into a beveled box which I handle manually.  THe problem is that if the
  22. > user wants to type a d or a c, there is some ambiguity concerning what 
  23. > should happen.  Will the buttons be activated, or should the characters
  24. > appear in the "textbox"?  I have 2 solutions, and would be interested in
  25. > any other solutions or recommendations.
  26.  
  27. I just designed an interface around this same problem.
  28.  
  29. > 1.) If a text box is active, the user must click on the buttons to activate
  30. > them.  I consider this unacceptable because it ruins the orthogonality of
  31. > the interface.  You can't have some things work in one window, and not in
  32. > others.
  33.  
  34. I don't particularly like that one, either. It didn't change the
  35. orthoganality of the interface (i.e. - all buttons would be the same),
  36. but it meant you'd have to use the mouse to get to the keyboard
  37. shortcuts.
  38.  
  39. > 2.) Use (ALT|CTRL|right amiga) key to activate the buttons in all cases.
  40. > Alt doesn't work because European languages use it.  Control is awkward
  41. > for left handed people to use like me. (I like to keep one hand on the
  42. > mouse, and one on the keyboard), Right Amiga is somewhat awkward too.
  43.  
  44. You forgot that in standard text gadgets, CTRL can do usefull things.
  45.  
  46. > 3.) Don't use keyboard equivalents.  I really don't like this option.
  47.  
  48. I agree; it's unacceptable. But you forgot:
  49.  
  50. 4.) Add menu items Done and Cancel that are identical to the buttons,
  51.     and have the shortcuts be Amiga-D and Amiga-C.
  52.  
  53. That's what I settled on. That made *all* my keyboard shortcuts be
  54. Amiga-<>, and doesn't interfere with the text entry gadget (which was
  55. the bulk of the application). If you're going to have modes where it
  56. wouldn't be active, you might make unadorned d and c work, as well.
  57.  
  58.     <mike
  59.