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