Search found 211 matches

by tom
Tue Feb 19, 2008 5:28 pm
Forum: VCL
Topic: Draw on Canvas
Replies: 3
Views: 11644

Hi mendelo, Please use the OnAfterDraw or the OnBeforeDraw event to redraw your users objects: e.g. procedure TForm2.Tree1BeforeDraw(Sender: TObject); begin Tree1.Canvas.DoRectangle(Rect(0,0,50,50)); end; procedure TForm2.Tree1AfterDraw(Sender: TObject); begin Tree1.Canvas.DoRectangle(Rect(50,50,100...
by tom
Thu Feb 14, 2008 9:30 pm
Forum: VCL
Topic: Draw on Canvas
Replies: 3
Views: 11644

Hi medelo,

Can you please tell me a little bit more what you would like to achieve?

Thanks,
tom
by tom
Thu Feb 14, 2008 9:28 pm
Forum: VCL
Topic: Polyline/Polygon question
Replies: 1
Views: 8278

You can stop drawing a polygon or polyline by pressing the ESC key.
by tom
Thu Feb 14, 2008 9:24 pm
Forum: VCL
Topic: Shadow not showing
Replies: 1
Views: 7941

Default a TImageShape Transparent property is set to true. If the Transparent property is True, no shadow is drawn.

In your code you need to set the Transparent property to False, as in:

Code: Select all

V.Transparent := False
by tom
Wed Jan 23, 2008 12:05 am
Forum: VCL
Topic: Unwanted drag of shape when it is on the edges of the TTree
Replies: 28
Views: 57473

Hi Ashu,

The swf file clearly demonstrates the issue, but we can't reproduce it here.
Can you tell us which version of teeTree2 you are using?

Or can you send us a source code demo of it?

Thanks,
tom
by tom
Mon Jan 21, 2008 2:35 am
Forum: VCL
Topic: Skinning TeeTree v2 scroll bars with VCLskin
Replies: 2
Views: 10733

Sorry, I've no experience with VCLSkin
by tom
Mon Jan 21, 2008 2:34 am
Forum: VCL
Topic: Auto-resize tree using zoom
Replies: 1
Views: 7831

you can send it to tom @ steema.com
by tom
Tue Jan 15, 2008 12:50 am
Forum: VCL
Topic: TeeTree 2 issues with scrolling, layout & behaviour chan
Replies: 1
Views: 9562

Hi, First, excuse us for the very late answer. 1. Yes, you are correct, this issue will be fixes. 2. Please check if the property Selected.ScrollToView is enabled. If this property is set to true, then clicking on a node which is partly shown will result in a change in the current view so that the n...
by tom
Tue Jan 15, 2008 12:34 am
Forum: VCL
Topic: TDBTree V.2, Master-Detail tree with 3 Datesets (3 levels)
Replies: 1
Views: 8208

Hi, TDBLayouts is the right way. Using db tables from the borland DBDemos: Be sure to set up the tabels in master/detail relationship: procedure TForm1.FormCreate(Sender: TObject); begin tCustomers.Close; tOrders.Close; tItems.Close; tOrders.MasterSource := dsCustomers; tOrders.IndexName := 'CustNo'...
by tom
Mon Jan 14, 2008 10:05 pm
Forum: VCL
Topic: Unwanted drag of shape when it is on the edges of the TTree
Replies: 28
Views: 57473

Hi, First, our excuses for the late responses. Could you clarify your problem in another way? What do you mean with automatically dragged? Do you mean the behavior that when a shape is partly shown, clicking on it moves the view so the shape is fully shown? If this is what you mean, than you can dis...
by tom
Mon Jan 14, 2008 9:54 pm
Forum: VCL
Topic: [Solved] Force position of vertical scrollbar ?
Replies: 3
Views: 12277

Hi, You can move the scrollbars to a position with the VertOffset and/or HorizOffset of the View3DOptions. So before rebuilding, you could store these values in temporary variables. After rebuild, you assign them back to VertOffset and HorizOffset. procedure TForm2.btnRebuildClick(Sender: TObject); ...
by tom
Fri Oct 19, 2007 6:31 pm
Forum: VCL
Topic: Export to XML file does not show sub nodes.
Replies: 2
Views: 9942

Hi, Which version are you using? The latest shipped with teechart v8 corrected this issue. A tree is now exported as: <?xml version="1.0" ?> <tree> <node name="TreeNodeShape1" class="TTreeNodeShape">Root 1 <node name="TreeNodeShape2" class="TTreeNodeShape">Child 1 <node name="TreeNodeShape5" class="...
by tom
Tue Oct 09, 2007 12:40 am
Forum: Java
Topic: Volume Series with all zero values
Replies: 1
Views: 6339

Hi, (There are several ways). You can set the visibility of the series to false, if all values are 0. There are several methods which can give you an idea if the series contains only 0 values, among the getMaxYValue() and getMinYValue(). if (volumeSeries.getMaxYValue()==0 && volumeSeries.getMinYValu...
by tom
Tue Oct 09, 2007 12:00 am
Forum: VCL
Topic: Range check error opening form with TTree
Replies: 2
Views: 10766

Hi Keith,

Do you experience this with all forms on which you have a TTree control? I've just added your form without errors onto a new project.

Regards,
tom
by tom
Mon Oct 08, 2007 8:39 pm
Forum: VCL
Topic: TTreeNodeShape's shadow moving with View3DOptions.Zoom
Replies: 1
Views: 8406

Hi Keith,

Thanks for reporting. This is indeed a bug.
For now you can bypass this bug by setting the smooth property to false as in:

Code: Select all

tree1.Shape[0].Shadow.Smooth := False;
Best regards,
tom