home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8466 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!news
  2. From: preavley@cs.utexas.edu (Paul Reavley)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: TurboVision Question (w/ example)
  5. Date: 23 Jan 1993 05:31:59 -0600
  6. Organization: CS Dept, University of Texas at Austin
  7. Lines: 21
  8. Message-ID: <lm2b5fINNprv@earth.cs.utexas.edu>
  9. References: <727633957.AA01183@contrast.wlink.nl>
  10. NNTP-Posting-Host: earth.cs.utexas.edu
  11.  
  12. berend@contrast.wlink.nl (Berend de Boer) writes:
  13. >>colemanr@garnet.berkeley.edu wrote in a message to All:
  14.  
  15. > cbe> I have the same problem as the original poster, but in my
  16. > cbe> case the text will change as data is processed.  I would
  17. > cbe> REALLY appreciate it if someone could expand a little on
  18. > cbe> this idea of 'smart text'. I'm pretty new to TurboVision and
  19.  
  20. >The other writers used the Set- and GetData methods. Another thing
  21. >might be to override the Draw method of some selfmade View. That Draw
  22. >method can be display different texts by drawing some global variable
  23. >(most simple, not very TV-ish).
  24. etc....
  25.   Check out the TIndicator object at the bottom left hand corner
  26. of TEditWindow s in tvedit.pas.  I believe it uses the Draw method
  27. for such a purpose.  I expanded TIndicator to display overwrite/
  28. insert mode, pagenumber, column number, line number and line
  29. spacing.
  30.  
  31. -- 
  32.                Paul Reavley  preavley.cs.utexas.edu  
  33.