home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7427 < prev    next >
Encoding:
Internet Message Format  |  1992-12-13  |  1.8 KB

  1. Path: sparky!uunet!vtserf!vtucs.cc.vt.edu!daves
  2. From: daves@vtucs.cc.vt.edu (Dave Sisson)
  3. Newsgroups: comp.lang.pascal
  4. Subject: TurboVision and CUA (was Re: Turbo Vision Keys?)
  5. Message-ID: <10411@vtserf.cc.vt.edu>
  6. Date: 13 Dec 92 17:49:50 GMT
  7. References: <724065276.AA00687@contrast.wlink.nl>
  8. Sender: usenet@vtserf.cc.vt.edu
  9. Organization: Virginia Tech, Blacksburg, VA
  10. Lines: 32
  11.  
  12. In article <724065276.AA00687@contrast.wlink.nl> berend@contrast.wlink.nl (Berend de Boer) writes:
  13. >Not so difficult, but you do, in this way, not conform to the CUA
  14. >standard which is a serious drawback I think. More and more people are
  15. >using CUA compliant UIs. But let's show the code:
  16.  
  17.  ...
  18.  
  19. >1) Do not use the bfDefault flag
  20. >2) Override the HandleEvent of your dialog.
  21.  
  22.  
  23.     True, my code does not use the bfDefault flag.  But when considering
  24. compliancy to the CUA standard - who wants to use a standard which is
  25. complicated to use?  My extended dialog class makes the first button
  26. act as if it were the default by being the first button in the TAB order
  27. that the user would reach by continually pressing the ENTER key.  (BTW,
  28. I plan to post my code to the TurboVision mailing list late Monday morning
  29. so subscribe soon!)
  30.  
  31.     I agree that the arrow keys should not be overridden
  32. especially if you want to use histories at all in your code, but the
  33. changing of the ENTER key is extremely logical.  When I have a menu box
  34. with several input lines in it (see below for a drawing), users get confused
  35. when they have to use some special key like TAB to move between lines.  More
  36. often than not a user will end up with just the first entry filled in and
  37. the rest just blank.  
  38.  
  39. --
  40.      Dave Sisson                          Join the TurboVision mailing list!
  41.  
  42.      Send a message with the body    -->    SUBSCRIBE TURBVIS My Name
  43.      to listserv@vtvm1.cc.vt.edu today!
  44.