home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7632 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.4 KB

  1. Path: sparky!uunet!news.tek.com!vice!bobbe
  2. From: bobbe@vice.ICO.TEK.COM (Robert Beauchaine)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Turbo Vision Keys?
  5. Message-ID: <11013@vice.ICO.TEK.COM>
  6. Date: 22 Dec 92 20:27:21 GMT
  7. References: <1992Dec21.120639.3977@kth.se> <1992Dec22.003317.26213@monu6.cc.monash.edu.au>
  8. Organization: Tektronix, Inc., Beaverton,  OR.
  9. Lines: 26
  10.  
  11. In article <1992Dec22.003317.26213@monu6.cc.monash.edu.au> wigs@yoyo.cc.monash.edu.au (Aaron Wigley) writes:
  12. >
  13. >Solution - get the run time library, and modify the HandleEvent code in
  14. >TDialog so that it does what you want. Better still, have a global
  15. >variable in the application whether the program is CUA compliant, and
  16. >have the user be able to toggle it.
  17. >
  18.  
  19.   Or best yet, use object oriented design the way it was
  20.   intended.  Define a TDialog descendent, then override the HandleEvent
  21.   procedure to turn TABS into CR's and vice versa.
  22.  
  23.   If an object library is created properly (and Borland has done a
  24.   pretty good job), you should never need the source code to extend
  25.   an object to do what you want.  That's part of the whole point of
  26.   OO programming.
  27.  
  28.  
  29. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ 
  30.  
  31. Bob Beauchaine bobbe@vice.ICO.TEK.COM 
  32.  
  33. C: The language that combines the power of assembly language with the 
  34.    flexibility of assembly language.
  35.  
  36. Real friends don't let friends use UNIX.
  37.