Search found 211 matches

by tom
Thu Jun 18, 2009 9:11 pm
Forum: VCL
Topic: Tutorial is broken methinks
Replies: 2
Views: 12327

Re: Tutorial is broken methinks

Hi, The reason this happens is because files downloaded off the Internet - including ZIP files and files cotained in those zip files - are marked as potentially malicious and so do not get full browsing rights on the local machine – they can’t access local content, which is exactly what help topics ...
by tom
Thu Jun 18, 2009 9:01 pm
Forum: VCL
Topic: Isn't this code a bit too simple??
Replies: 2
Views: 12907

Re: Isn't this code a bit too simple??

There is no need for interating through each branch, as all shapes are also available through the shapes property of TTree.
If you use eg

Code: Select all

node := Tree1.Shapes.Find('TreeNode', true)
it wil provide the first node in the tree which contains 'TreeNode' inside it's text.

Regards,
Tom
by tom
Thu Jun 18, 2009 8:57 pm
Forum: VCL
Topic: Repeatedly find items that contain the same string
Replies: 1
Views: 9934

Re: Repeatedly find items that contain the same string

There is no method to retrieve nodes as such, however, you can implement this on a relatively easy way. The Shapes property contains all the nodes in the tree, so you can iterate these and perform your match on every node, as in: procedure TForm2.FindNodesClick(Sender: TObject); var t: integer; begi...
by tom
Sun Apr 05, 2009 10:03 am
Forum: VCL
Topic: TeeTree Expand and collapse causes black canvas
Replies: 1
Views: 10737

Hi,

We've problems to mimic this behavior. We've created a tree with 5000 nodes, each having one child. Vert & Horz scrollbar are set to automatic. Expanding/Collapsing the root node, does not give a black canvas.

Could you provide us a source code example?

Thanks in advance,
tom
by tom
Tue Nov 25, 2008 11:18 pm
Forum: VCL
Topic: How do you access data?
Replies: 2
Views: 13319

Hi Bruce, You can use the DblClickShape event for this purpose. The Sender argument contains a reference to the clicked shape. The level property of a TTreeNodeShape provides information where the node is positioned in the tree (0 equals root level). References of parent(s) are provided through the ...
by tom
Tue Nov 25, 2008 8:13 pm
Forum: VCL
Topic: Smooth Shadows Zooming- Fix not applied in V8.04
Replies: 1
Views: 10946

Hi Keith,

Thanks for letting us know.

Regards,
Tom.
by tom
Sat Nov 15, 2008 1:08 pm
Forum: VCL
Topic: TGridShape individual Cell Width
Replies: 1
Views: 10594

Hi, Unfortunately, there is no functionality in GridShape which supports your request. As it it implemented now, you can't assign custom widths or heights. At the moment it works as follows: Changing the width/height of a cell has no effect, since it is automatically calculated: 1) AutoSize off: The...
by tom
Sat Aug 23, 2008 10:52 pm
Forum: VCL
Topic: First (Topmost) Node not receiving mouse clicks correctly
Replies: 1
Views: 10961

hi,

can you provide me an example from which I can produce this problem? I'm probably missing something, since I can't produce the error.

Thanks,
tom @ steema.com
by tom
Sun Jun 15, 2008 9:47 am
Forum: VCL
Topic: OOPS ---- ??
Replies: 2
Views: 13405

Hi,

drop TeeSVGCanvas in your uses list and try the following code:

Code: Select all

procedure TForm2.Button38Click(Sender: TObject);
var
  tmp: TSVGExportFormat;
begin
  TeeSaveToSVGFile(Tree1, 'c:\test.svg', 100,100);
end;
This should result in a part (100 by 100) image of your tree.

Regards,
Tom.
by tom
Tue Jun 10, 2008 9:45 pm
Forum: VCL
Topic: Hiding root nodes
Replies: 2
Views: 12957

Hi, TeeTree was developed not only as a Tree substitute, therefor it doesn't always behaves as a Tree would. To make all child nodes invisible, you can recursively iterate all childs by yourself, e.g.: procedure TForm2.HideClick(Sender: TObject); procedure Hide(Node: TTreeNodeShape; Recursive: Boole...
by tom
Tue Jun 10, 2008 9:04 pm
Forum: VCL
Topic: Out Of System resources using ImageListIndex
Replies: 1
Views: 10984

Hi okra, The advantage of using the global array of images is that when several nodes share the same image, the image is allocated into memory only once. You can add your own images to the image pool, using following code: customIndex:= TreeImagePool.Add( Image1.Picture ); The performance will also ...
by tom
Tue Jun 10, 2008 7:29 pm
Forum: VCL
Topic: selected unfocused bug
Replies: 1
Views: 10759

Hi iamjoosy

Thanks for letting us know.

Regards,
Tom.
by tom
Mon Mar 31, 2008 9:51 pm
Forum: VCL
Topic: Permanently hide grid from designer
Replies: 2
Views: 13460

Unfortunately, with the current design this is not possible. To achieve this, you need to modify the method SetNewTreeSettings in TreeEd.pas
by tom
Mon Mar 31, 2008 7:23 pm
Forum: VCL
Topic: Shadows not scaling with View3DOptions.Zoom
Replies: 2
Views: 13453

Weird, I don't see this behavior when zooming to e.g. 50%. Can you provide me an example?

Thanks,
tom.
by tom
Mon Mar 31, 2008 6:32 pm
Forum: VCL
Topic: Autosize/autofit TTree objects- any solution yet?
Replies: 4
Views: 19145

Hi Keith,

Do you mean zoom/unzoom the panel or really re-sizing all shapes?

Thanks,
Tom.