home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 16222 < prev    next >
Encoding:
Text File  |  1992-11-22  |  4.5 KB  |  102 lines

  1. Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!news.qut.edu.au!qut.edu.au!barham
  2. From: barham@qut.edu.au
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: A Style Guide Question
  5. Message-ID: <1992Nov23.114033.59191@qut.edu.au>
  6. Date: 23 Nov 92 11:40:32 EST
  7. Organization: Queensland University of Technology
  8. Lines: 92
  9.  
  10. To:           "Tim Barham" <CBE2/TIM>
  11. From:         "Tim Barham" <CBE2/TIM>
  12. Date:         23 Nov 92 11:25:24 GMT+1000
  13. Subject:      Re: 
  14. X-mailer:     Pegasus Mail v2.3 (R4).
  15.  
  16. dan@cs.pitt.edu (Dan Drake) writes:
  17.  
  18. [reformatted for my mailer which hates long lines!]
  19.  
  20. > This is a style guide question.
  21. >
  22. > To be consistent in my user interface, I am using buttons called done
  23. > and cancel, that reside in all of my windows.  I want the user to
  24. > be able to activate these buttons through their keyboard
  25. > equivalents: eg d for done, and c for cancel.  Now on several of
  26. > these windows, I want the user to type text into a beveled box
  27. > which I handle manually.  THe problem is that if the user wants to
  28. > type a d or a c, there is some ambiguity concerning what should
  29. > happen.  Will the buttons be activated, or should the characters
  30. > appear in the "textbox"?
  31.  
  32. Obviously the characters should appear in the text box otherwise the
  33. person would never be able to enter those characters.
  34.  
  35. > I have 2 solutions, and would be interested in any other solutions
  36. > or recommendations.
  37.  
  38. I think something that no-one has mentioned here is that you say these
  39. are bevelled boxes that you handle manually.  Are these multiline
  40. boxes in which pressing the Enter key would take you to a new line
  41. and thus not de-activate the text box?  If yes, then this is a
  42. problem!
  43.  
  44. > 1. If a text box is active, the user must click on the buttons to
  45. >    activate them.  I consider this unacceptable because it ruins
  46. >    the orthogonality of the interface.  You can't have some things
  47. >    work in one window, and not in others.
  48.  
  49. Normally, this would be the case, with the enter key deactivating the
  50. text box so you could then use the keyboard short-cut key (as per the
  51. style guide).  If the enter key just takes you to a new line (as I
  52. mentioned above), then we have a problem.  How are the Amigas two
  53. return keys labelled?  Enter and return?  I can't remember, it's at
  54. home.  If so, the return key could take you to the next line and the
  55. Enter key deactivate the text box (ie Enter normally means "accept
  56. the text" and return is short for carriage return, or a new line on a
  57. type writer).  Not very elegant I agree.
  58.  
  59. > 2. Use (ALT|CTRL|right amiga) key to activate the buttons in all
  60. >    cases.  Alt doesn't work because European languages use it.
  61. >    Control is awkward for left handed people to use like me. (I
  62. >    like to keep one hand on the mouse, and one on the keyboard),
  63. >    Right Amiga is somewhat awkward too.
  64.  
  65. ALT and CTRL aren't good for reasons mentioned here and elsewhere.
  66. Right Amiga isn't good because of conflicts with menu selections.
  67. What is the left amiga key used for (apart from pop-cli programmes) -
  68. I know - a new standard - the left Amiga key is used as a modifier
  69. key to select gadget shortcuts when you are in an active string
  70. gadget!  I'm a genius!
  71.  
  72. > 3. Don't use keyboard equivalents.  I really don't like this option.
  73.  
  74. Pah - we need our keyboard shortcuts!
  75.  
  76. > Like I said, any help would be appreciated.
  77. >
  78. > dan.
  79.  
  80. Has any of that been of any use? In another post I give my (totally
  81. authorative) opinion on what should happen with normal string
  82. gadgets.  "Multiline string gadgets" add a new problem to the
  83. equation, though - perhaps that's why Commodore didn't provide them
  84. as part of GadTools (the WHIMPS!)?
  85.  
  86.  
  87. ----------------------------------------------------------------------
  88. | Tim Barham     | If it's green or it wriggles, its biology.        |
  89. | App Programmer | If it stinks, it's chemistry                      |
  90. | CBE Section    | If it doesn't work, it's physics                  |
  91. | QUT            | If it's crippling your machine, it must be MS DOS |
  92. ----------------------------------------------------------------------
  93. -- 
  94.  
  95. ----------------------------------------------------------------------
  96. | t.barham@qut.edu.au (Tim Barham) - "Dances with Mice"              |
  97. | Applications Programmer for the Computer Based Education Section,  |
  98. | Queensland University of Technology, Brisbane, Qld, Australia      |
  99. ----------------------------------------------------------------------
  100. | "You're so open-minded that your brain leaked out..."              |
  101. ----------------------------------------------------------------------
  102.