VirtualStringTree is a Delphi component, VirtualTreeview descendant designed to make it easy to show string data.
Questions tagged [tvirtualstringtree]
148 questions
0
votes
1 answer
How to save all nodes of TVirtualStringTree to BMP in Delphi 6?
I use Delphi 6.0, and I have TPanel, that contains TVirtualStringTree, that contains many nodes (more, than 1 screen).
I need to save this panel (with all nodes) to the BMP as a picture.
I use this method to save panel:
procedure…

Vadim Kiselev
- 1,030
- 1
- 8
- 16
0
votes
2 answers
TVirtualStringTree search by more than 1 symbol
I have tried to make incremental search in TVirtualStringTree and found that it always uses a single character search string. When you press a key it starts searching immediately without waiting for the 2nd key which in turn becomes a single search…

Molochnik
- 704
- 5
- 23
0
votes
1 answer
TVirtualStringTree & toUseExplorerTheme - change color selected item and mouse hover
I'm use TVirtualStringTree+toUseExplorerTheme+toThemeAware for beautiful display. But i need change color of selected item and hover item.
How can this be done?

Петя Васечкин
- 23
- 4
0
votes
1 answer
TVirtualStringTree. How to check a node and its children with a single confirmation?
I have a component of type TVirtualStringTree. The option toCheckSupport is enabled. The options related to the propagation of checkstates are also enabled, because the propagation is needed. I want to implement checking a node with a confirmation…

Chris S
- 151
- 8
0
votes
1 answer
VirtualStringTree - How to make it so that the nodes simply do not have a parent
I'm trying to move the nodes to the root of the tree so that they do not have a parent
Tree.MoveTo(LNodes[i], nil, amAddChildFirst, False);
But they are simply deleted!
How to make it so that the nodes simply do not have a parent?

r00xus
- 79
- 6
0
votes
0 answers
TVirtualStringGrid - Copying and pasting a node correctly
Could someone please show me a good example of VirtualStringTree.CopyTo? I have made an application that adds, deletes nodes, but I can not make the CopyTo work correctly. My goal is to use the CopyTo function to copy a node and its children to…

douglas keene
- 133
- 7
0
votes
1 answer
How to define a TVirtualStringTree with dynamic data structure
I would like to dynamically load and display into a TVirtualStringTree, data from some different SQL tables. This mean that the header and the content of each column will contain each time different type of data.
My problem is how to optimize in…

REALSOFO
- 852
- 9
- 37
0
votes
1 answer
How to lock selected nodes in TVirtualStringTree?
I have a TVirtualStringTree with some checked nodes. After processing, some of those nodes are selected by the application for future use with double-click.
My problem is that after the application select some of those nodes, if any node is clicked…

Joao Lira
- 1
- 1
- 1
0
votes
1 answer
How to add TObject to PVirtualNode.Data of TVirtualStringTree.Root node
That is my question.
How I can put object to root node of tree?
I know about addChild function, but it's for sub-nodes of root node. I need put data into root node.

AlexLL
- 165
- 1
- 13
0
votes
2 answers
How to set the color of VirtualStringTree header?
The VirtualStringTree header has a 'Background' property but setting it to a different color does not change the color. I suspect the tree is rendered using Windows themes.
How can I set the color?

Steve F
- 1,527
- 1
- 29
- 55
0
votes
1 answer
TVirtualStringTree change cursor when hoverering an image
How can I change the cursor when I'm hovering an ImageIndex from a node
Basically I have an attach icon displayed on a node and i would like to let user understand, by changing the cursor, that he have the possibility to download the file by…

REALSOFO
- 852
- 9
- 37
0
votes
1 answer
Delphi VirtualStringTree and a Queue
Hi i've a project that uses the VirtualStringTree , with this Record :
type
TStudentsSession = record
StudentName : String;
StudentClass : String;
StudentHandRaised:Boolean;
end;
And i've these Procedures :
Procedure…

Sdean
- 245
- 2
- 5
- 12
0
votes
0 answers
Virtual TreeView losing toUseExplorerTheme
I have gridlines and toUseExplorerTheme enabled in virtualtreeview (DesignTime).
I would like to remove the gridlines in runtime but it seems like I'm losing the toUseExplorerTheme property. Is this a bug or did I miss something? I tried to add it…

Ben
- 3,380
- 2
- 44
- 98