Search found 18 matches

by Artimus
Thu Dec 11, 2008 5:28 pm
Forum: VCL
Topic: Code Improvement - Shapes not being set to Nill
Replies: 0
Views: 6516

Code Improvement - Shapes not being set to Nill

When the TCustomTree.Clear is called, it is only freeing the shape, and not setting them to nil. Could you please include the following change in your next code release. TeeTree.pas - TCustomTree.Clear // 9th line from the Procedure Decleration //Previous Code for t:=0 to Shapes.Count-1 do Shapes[t]...
by Artimus
Fri Sep 19, 2008 3:50 pm
Forum: VCL
Topic: ZoomRectangle and ZoomFromCenter
Replies: 9
Views: 22717

TeeTree1.ZoomRectangle(TeeTree1.TotalBounds) solution

For anyone else trying to make get the chart to fit the viewable area, here is the solution I have found so far. From testing my math seems correct. If anyone knows any easier ways of doing this, please let me know. First, function to make the teeTree chart the correct size to fit the in the viewabl...
by Artimus
Tue Sep 02, 2008 4:56 pm
Forum: VCL
Topic: ZoomRectangle and ZoomFromCenter
Replies: 9
Views: 22717

Do you have a solution for this? I need to know whether I can still go this way or if I need to scrap it all.
by Artimus
Fri Aug 22, 2008 2:32 pm
Forum: VCL
Topic: ZoomRectangle and ZoomFromCenter
Replies: 9
Views: 22717

I noticed it zooms a little bit more than the object rect...
Also it doesn't center it.


So how can I get the following to work? or accomplish the same thing.

TeeTree1.ZoomRectangle(TeeTree1.TotalBounds);

I need to make the entire chart fit the viewable area and be centered.

Thanks[/quote]
by Artimus
Thu Aug 21, 2008 5:15 pm
Forum: VCL
Topic: ZoomRectangle and ZoomFromCenter
Replies: 9
Views: 22717

I am using TTree. I don't understand what "zoom over the Series points" means. TeeTree1.ZoomRectangle(TeeTree1.Items[0].Bounds); Let me know if this is correct or not. The above code should zoom so that item[0] fills the entire view area, and it should be centered. As for your second example. TeeTre...
by Artimus
Thu Aug 21, 2008 1:30 pm
Forum: VCL
Topic: ZoomRectangle and ZoomFromCenter
Replies: 9
Views: 22717

My overall goal is to resize my chart so that it is all visible in the chart area and centered. If the chart is smaller than the viewable area, then it would zoom in and center. If it is to big to fit, it would zoom out and center. I tried it several ways. The function I thought would do this was Zo...
by Artimus
Tue Aug 19, 2008 6:35 pm
Forum: VCL
Topic: HorzScrollBar.Visible = True when not visible.
Replies: 5
Views: 10264

Yep, that was it. :oops: Delphi also doesn't reset the scrollbar values if it is no longer visible.

I hope the other problem I posted is this easy.
by Artimus
Mon Aug 18, 2008 1:34 pm
Forum: VCL
Topic: HorzScrollBar.Visible = True when not visible.
Replies: 5
Views: 10264

I have a TeeTree component on a form. (at run time) I open a chart I created and the entire chart does not fit in the viewable area, so scrollbars appear. I enlarge the size of the form by dragging the bottom right corner. When the entire chart is visible, the horizontal scrollbar disappears. Now, i...
by Artimus
Thu Aug 14, 2008 9:06 pm
Forum: VCL
Topic: ZoomRectangle and ZoomFromCenter
Replies: 9
Views: 22717

How is the teeTree1.View3DOptions.HorizOffset affected by the View3DOptions.Zoom? In trying write my own ZoomRectangle, when the zoom = 100 and I set teeTree.View3DOptions.HorizOffset = (teeTree1.TotalBounds.Right * -1) the left side of the page lines up with the left most node in the chart. However...
by Artimus
Thu Aug 14, 2008 7:31 pm
Forum: VCL
Topic: HorzScrollBar.Visible = True when not visible.
Replies: 5
Views: 10264

HorzScrollBar.Visible = True when not visible.

I am trying to make buttons to page through graphic. While doing this I am also doing some calculating using the HorzScrollBar values. If chart has a HorzScrollBar at first and then you resize the form so it is large enough so that the HorzScrollBar disappears, the HorzScrollBar.Visible value is sti...
by Artimus
Thu Aug 14, 2008 7:24 pm
Forum: VCL
Topic: ZoomRectangle and ZoomFromCenter
Replies: 9
Views: 22717

ZoomRectangle and ZoomFromCenter

I am trying to make a FitInView function and am trying to use ZoomRectangle or ZoomFromCenter, but neither seem to work properly. (I am using version 7.12) Here is my desired code. TeeTree1.ZoomRectangle(TeeTree1.TotalBounds); //this zooms, but way to far in. //also tried this where DesiredZoom = th...
by Artimus
Mon Jul 14, 2008 1:40 pm
Forum: VCL
Topic: Creating Meta File Bug
Replies: 6
Views: 10368

Do you currently have an approximate date for the next releases?
by Artimus
Wed Jul 09, 2008 3:45 pm
Forum: VCL
Topic: Creating Meta File Bug
Replies: 6
Views: 10368

I uploaded the example.

It is under the name
Steven Prescott
pressr-AT-inl.gov

Just Replace UnitChartOffice files in the TeeChartOffice example with the ones in the zip.


The software was ordered through the secretary
TARA HAACK
haactj-AT-inel.gov
Alias - Artimus
by Artimus
Wed Jul 09, 2008 3:16 pm
Forum: VCL
Topic: Creating Meta File Bug
Replies: 6
Views: 10368

Version 7.12 has the same problem. I got your TeeRecompile.exe to work with 7.12 and fixed the bug, and now it works. I used your TeeChartOffice for a simple example. I put a button on the chart which tries to do some custom printing. It gave me more problems than my other project did, but I will le...
by Artimus
Mon Jul 07, 2008 10:33 pm
Forum: VCL
Topic: Creating Meta File Bug
Replies: 6
Views: 10368

Creating Meta File Bug

I believe I found a bug with TeeCreateMetaFile. I have a TTree graphic and I am trying to get the image for a given area. My bounds are TRec(0,0,2200,600); I ask for TeeCreateMetaFile(True, 0,0,1100,600) {the first page} and it works great. I ask for TCreateMetaFile(True, -1100,0,1100,600) {the seco...