home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7736 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.0 KB  |  24 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!cs.utexas.edu!torn!news.ccs.queensu.ca!slip201.telnet1.QueensU.CA!dmurdoch
  3. From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
  4. Subject: Re: TVision : BUG in my head or in TV?
  5. Message-ID: <dmurdoch.262.725736007@mast.queensu.ca>
  6. Lines: 12
  7. Sender: news@knot.ccs.queensu.ca (Netnews control)
  8. Organization: Queen's University
  9. References: <30DEC92.02825818.0033@music.mus.polymtl.ca>
  10. Date: Wed, 30 Dec 1992 17:20:08 GMT
  11.  
  12. In article <30DEC92.02825818.0033@music.mus.polymtl.ca> CT80@music.mus.polymtl.ca (Steph) writes:
  13. >What happens is this : I found out (after many bugs with this), that
  14. >EndOfStatic (my before-adding-spaces-to-AText-length) is set to 0
  15. >after the call to TStaticText.Init!  Why is this so?
  16.  
  17. This is a nasty surprise designed into TurboVision.  TObject.Init zeroes out 
  18. all fields of any descendant.  It's not done that way in OWL, and shouldn't 
  19. be in TurboVision, but Borland won't change it now because they're afraid of 
  20. breaking existing code.
  21.  
  22. Duncan Murdoch
  23. dmurdoch@mast.queensu.ca
  24.