home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17424 < prev    next >
Encoding:
Text File  |  1992-12-16  |  2.9 KB  |  71 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!usc!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!josef!avalon.physik.unizh.ch!matija
  3. From: matija@avalon.physik.unizh.ch (Matija Milostnik)
  4. Subject: Re: Default buttons under 2 or ^
  5. Message-ID: <1992Dec16.073450.14111@ifi.unizh.ch>
  6. Summary: Return key as default activation
  7. Keywords: buttons default style look interface
  8. Sender: news@ifi.unizh.ch (USENET News Admin)
  9. Nntp-Posting-Host: avalon
  10. Organization: Informatik Club d. Universitaet, Zuerich
  11. References: <BzBrzI.GME@csugrad.cs.vt.edu>
  12. Date: Wed, 16 Dec 1992 07:34:50 GMT
  13. Lines: 56
  14.  
  15. In article <BzBrzI.GME@csugrad.cs.vt.edu> jaker@csugrad.cs.vt.edu (Jake Rose) writes:
  16. >Hey, folks.
  17.  
  18. Hello
  19.  
  20. >  I've been looking for a nice, standard way of displaying a
  21. >default response for requesters and options panels on the Amiga for a
  22. >while now, [...]
  23.  
  24. >The idea is to draw a sunken borderbox around the gadtools gadget that
  25. >will be "hit" if the return key is pressed, to indicate that that is the
  26. >default response.  
  27.  
  28. Sorry, the answer is NO.
  29.  
  30. The default option for any requester shuold NOT be activated
  31. by a RETURN. There was a lenghty discusion why this is A Bad Thing.
  32. Just picture the situation where you are writing a document and are
  33. to press return and another application pops up a requester with the
  34. return key as default....
  35.  
  36. I think it looks very clean and that it doesn't clutter
  37. >things up on the screen, in contrast to the standard proposed by many
  38. >programs, which is to place the text for the default response button in
  39. >bold.  I find it extremely ugly.
  40.  
  41. It is indeed. 
  42. Till 1.x the Intuition section of the manual proposed to bolten the default
  43. action, now this section is not present any more. Under 2.x and greater all
  44. gadget should look equal. The default activation is marked with underlined 
  45. characters in the Gadgets. All gadgets look equal.
  46.  
  47. > So my question is, what do people think
  48. >of this idea, and does anyone know why the style guide would complain about
  49. >it?  I've looked through it (read it from cover to cover, in fact), but I
  50. >haven't noticed anything in there on this.  
  51.  
  52. The best solution I came across is to expand the capability of the
  53. 'left Amiga v' and 'left amiga b' (or whatever the user defined).
  54. You define your gadget with a tag called 'GA_Default_Positive' and
  55. 'GA_Default_Negative', just like the end requester flags in gadgets
  56. of requesters. This way ANY application could have a default key 
  57. activation and everybody would know that 'left amiga v' is positive
  58. and 'left amiga b' is the negative choise in the requester, thus 
  59. avoiding the need of bold gadgets or strange visual apparence of
  60. the gadgets.
  61.  
  62.  
  63. >Thanks for your response!
  64. Your are welcome
  65.   Matija
  66. -- 
  67. Best regards from Matija Milostinik           : matija@avalon.physik.unizh.ch
  68.                                               : matija@amiga.physik.unizh.ch
  69. Therefore, use local labels in the procedures as often as possible. 
  70. Save the environment!  Recycle!  ;-)                 (Bjoern Reese)
  71.