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

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!caen!nic.umass.edu!garbo.ucc.umass.edu!gencon06
  3. From: gencon06@titan.ucc.umass.edu (WatchDog)
  4. Subject: Re: A Style Guide Question
  5. In-Reply-To: barrett@astro.cs.umass.edu's message of 19 Nov 92 21:20:46 GMT
  6. Message-ID: <GENCON06.92Nov20092314@titan.ucc.umass.edu>
  7. Sender: usenet@nic.umass.edu (USENET News System)
  8. Organization: University Computing Services
  9. References: <17474@pitt.UUCP> <mwm.2nu7@contessa.palo-alto.ca.us>
  10.     <37104@cbmvax.commodore.com> <56468@dime.cs.umass.edu>
  11. Date: Fri, 20 Nov 1992 14:23:14 GMT
  12. Lines: 32
  13.  
  14. In article <56468@dime.cs.umass.edu> barrett@astro.cs.umass.edu (Daniel Barrett) writes:
  15.  
  16.    In article <37104@cbmvax.commodore.com> peter@cbmvax.commodore.com (Peter Cherna) writes:
  17.    >The Amiga Style Guide addresses this problem by recommending that
  18.    ><ENTER> in a string gadget deactivate the string gadget but not close
  19.    >the window or take any other drastic action.  The idea is that <ENTER>
  20.    >followed by "D" or "C" would have the desired effect.
  21.  
  22.        And then, there are the programs that use <RETURN> or <ENTER> to
  23.    move from string gadget to string gadget.  In such a program, using the menu
  24.    key equivalents is nearly impossible!  And yet, it's a common practice
  25.    that (IMHO) is intuitively a reasonable thing to do.
  26.  
  27. Well, in several programs that I have seen, pressing the return moves thru
  28. the different string gadgets with the default button as the last selection
  29. that return works on.  (Hmm, I sound a bit cryptic here...)  What I mean is
  30. say you open a window that queries for print settings.  The string gadgets 
  31. may or may not have the defaults in them already (if they do, the user just
  32. edits the strings).  Also on this window are two buttons, 'PRINT' and 'CANCEL'.
  33. by pressing return the user accepts what is in the curent string gadget, and 
  34. the next string gadget is selected.  This is repeated untill all the string 
  35. gadgets have been visited once, so instead of going from the last string to the
  36. first string, the 'PRINT' button is highlighted.  Pressing return here will
  37. be like clicking on the 'PRINT' button.  Keyboard equivs (hot-key, whatever)
  38. for the 'PRINT' and 'CANCEL' buttons are either:
  39.   1} Non existant (user has to use the mouse to select 'CANCEL', if the user
  40.     has no mouse, remember the keyboard equivs for mouse movements...)
  41.   2} Work where ever the user is in the window
  42.   3} Work only when the 'PRINT' button is highlighted.
  43. I personally like #2, and the keyboard equiv is a modified keystroke (ctrl-,
  44. alt-, amiga(command)-).
  45.                                                      -WatchDog
  46.