Search found 4 matches

by David
Wed Apr 13, 2005 1:55 pm
Forum: VCL
Topic: Printing Connections
Replies: 1
Views: 8373

Printing Connections

I've been struggling to figure out how to print the connections of a TTree. I have looked for and tried several things but without success. I'm using the PrintPartial method which I got from using TreeNavigator as an example. I figure it was somesetting or something I was doing wrong. However I have...
by David
Tue Apr 12, 2005 10:36 pm
Forum: VCL
Topic: TTreePage error
Replies: 1
Views: 8432

TTreePage error

TTreePage.Refresh has a problem when using the UsePrinter flag. When UsePrinter is True the GetWidth and GetHeight works correctly to return the printer values. However, in Refresh the FWidth and FHeight are used and the UsePrinter flag has no effect. Thus the default values at creation are used and...
by David
Wed Feb 16, 2005 5:50 pm
Forum: VCL
Topic: TTreePage.Count error
Replies: 2
Views: 9930

TTreePage.Count error

In TTreePage.Count the number of pages uses the TTree's TotalBounds to calculate the number of pages. It uses the ROUND function that inflates the actual number of pages due to rounding. The SetPage correctly sets the page using the DIV functions. The result is that the TreeNavigator and Printing en...
by David
Thu Feb 10, 2005 5:12 pm
Forum: VCL
Topic: TeeTree Printing
Replies: 1
Views: 8326

TeeTree Printing

I am creating a TTree using the TTreeTopBottomAlignChild child manager. On the form the tree balances and other than the known limitation where nodes on the same level overlap it looks good. I'll consider writing my own child manager to correct that later. However, when I use the TTree.Print command...