Search found 18 matches
- Thu Dec 11, 2008 5:28 pm
- Forum: VCL
- Topic: Code Improvement - Shapes not being set to Nill
- Replies: 0
- Views: 7810
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]...
- Fri Sep 19, 2008 3:50 pm
- Forum: VCL
- Topic: ZoomRectangle and ZoomFromCenter
- Replies: 9
- Views: 25708
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...
- Tue Sep 02, 2008 4:56 pm
- Forum: VCL
- Topic: ZoomRectangle and ZoomFromCenter
- Replies: 9
- Views: 25708
- Fri Aug 22, 2008 2:32 pm
- Forum: VCL
- Topic: ZoomRectangle and ZoomFromCenter
- Replies: 9
- Views: 25708
- Thu Aug 21, 2008 5:15 pm
- Forum: VCL
- Topic: ZoomRectangle and ZoomFromCenter
- Replies: 9
- Views: 25708
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...
- Thu Aug 21, 2008 1:30 pm
- Forum: VCL
- Topic: ZoomRectangle and ZoomFromCenter
- Replies: 9
- Views: 25708
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...
- Tue Aug 19, 2008 6:35 pm
- Forum: VCL
- Topic: HorzScrollBar.Visible = True when not visible.
- Replies: 5
- Views: 10985
- Mon Aug 18, 2008 1:34 pm
- Forum: VCL
- Topic: HorzScrollBar.Visible = True when not visible.
- Replies: 5
- Views: 10985
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...
- Thu Aug 14, 2008 9:06 pm
- Forum: VCL
- Topic: ZoomRectangle and ZoomFromCenter
- Replies: 9
- Views: 25708
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...
- Thu Aug 14, 2008 7:31 pm
- Forum: VCL
- Topic: HorzScrollBar.Visible = True when not visible.
- Replies: 5
- Views: 10985
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...
- Thu Aug 14, 2008 7:24 pm
- Forum: VCL
- Topic: ZoomRectangle and ZoomFromCenter
- Replies: 9
- Views: 25708
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...
- Mon Jul 14, 2008 1:40 pm
- Forum: VCL
- Topic: Creating Meta File Bug
- Replies: 6
- Views: 10999
- Wed Jul 09, 2008 3:45 pm
- Forum: VCL
- Topic: Creating Meta File Bug
- Replies: 6
- Views: 10999
- Wed Jul 09, 2008 3:16 pm
- Forum: VCL
- Topic: Creating Meta File Bug
- Replies: 6
- Views: 10999
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...
- Mon Jul 07, 2008 10:33 pm
- Forum: VCL
- Topic: Creating Meta File Bug
- Replies: 6
- Views: 10999
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...