Questions tagged [virtualtreeview]

Virtual Treeview is free Delphi component written by Mike Lischke.

Home page: http://www.jam-software.de/virtual-treeview/
Code: https://github.com/Virtual-TreeView/Virtual-TreeView/

Virtual Treeview is a tree view control built from ground up. More than a decade of development made it one of the most flexible and advanced tree controls available today. Virtual Treeview starts off with the claim to improve many aspects of existing solutions and introduces some new technologies and principles which were not available before.

As the name already indicates, this control uses a different paradigm for tree management than other controls of this kind. It does not know anything about the data it manages (except its size), not even the captions of a node. Everything is retrieved from the application via events (or descendants via overridden methods).

Virtual Treeview has been carefully designed and thoroughly tested. The control proved its concept as well as everyday fitness already in many commercial products and freeware projects.

309 questions
3
votes
4 answers

Delphi - Virtual String Tree Slow GetText Method At Large Amount Of Nodes

I am not yet very experienced with the TVirtualStringTree component, therefore maybe I overlooked something trivial. My app gathers File Information into a record (FileName, Path, Size) and displays the data in a Virtual String Tree. Now when there…
BlackOut
  • 81
  • 1
  • 5
3
votes
2 answers

How to underline or highlight a part of node caption

I want to implement a search function in my virtualtreeview. And I want to highlight or underline the searched word in the nodes. How can I do this? Thank you
r038tmp5
  • 105
  • 1
  • 5
3
votes
1 answer

VirtualStringTree: Search for a text where type is not a String

I would like to implement a search procedure to a VirtualStringTree and I would like to do it by comparing the search text with the text from node and not from the pointer (eg. Data^.Column0) because this is not always as String. Please help me…
REALSOFO
  • 852
  • 9
  • 37
3
votes
2 answers

VirtualStringTree hide node(s)

is that possible to hide specific nodes in VirtualStringTree? I'm implementing "filtering" feature (the VST acts as a list with columns), and I'd like to avoid reloading content each time the filter is changed - instead, much faster would be to tell…
migajek
  • 8,524
  • 15
  • 77
  • 116
3
votes
3 answers

(RAD Studio) Virtual TreeView: how to initialize all nodes at once?

I just discovered this component and started working with it. I understand that the whole concept of it is to initialize nodes on the go as they are needed but I need all of them to initialize instantly. What is the smart way to do it? The only…
Andrew
  • 2,309
  • 4
  • 27
  • 42
3
votes
1 answer

VirtualStringTree lock column 0

Is it possible to lock column 0 (with node names) in VirtualStringTree during horizontal scrolling like in Excel?
user1762186
  • 190
  • 2
  • 6
  • 16
3
votes
1 answer

How can I set the background color for a StringTree with VCL Styles?

I am trying to change the color of a Virtual StringTree for VCL Styles. This effects the part of the tree that is outside (right and bottom) of the cells when the columns and rows do not fill the whole component area. For Styles this color is…
Erik Virtel
  • 810
  • 2
  • 9
  • 27
3
votes
1 answer

How to prevent a certain Virtual StringTree NodeLevel from being dragged?

What I am trying to accomplish I have got a virtual stringtree with sublevel rows that can be expanded by the user. The top hierarchy level of all nodes shall be draggable. But none of the sub node levels shall be. How to test For testing I use the…
3
votes
3 answers

Fast scrolling in Delphi's Virtual Treeview

[This is an updated version of a question posted earlier, the previous title was Selecting node by index in Delphi’s Virtual Treeview.] After the better part of a day, I believe I've got the Virtual Treeview component (powerful but complex) working…
Larry Lustig
  • 49,320
  • 14
  • 110
  • 160
3
votes
1 answer

Moving VirtualTreeView editor to second column

I have VirtualTreeView with 3 columns (column headers are invisible if that matters). When I press F2 (default key to start editor) to edit a node it edits node in column 0. How can I switch it to edit node in column 1 instead? Something of an…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
3
votes
2 answers

Virtual StringTree: How to determine if the node text is completely shown?

When TVirtualStreeTree.HintMode = hmTooltip, the node text will become the hint text when the mouse is hovered over a node and column where the node text is not completely shown. But I have to set HintMode = hmHint, so that I can in the even handler…
Edwin Yip
  • 4,089
  • 4
  • 40
  • 86
3
votes
2 answers

Multiple Expanding Nodes in Virtual TreeView possible?

I am using a TVirtualStringTree (part of the Virtual TreeView Component) in my Delphi project and I would like to create a view where 2 columns can have children that are expandable/collapsable with [+] sign. In the picture below as sample I would…
Remko
  • 7,214
  • 2
  • 32
  • 52
3
votes
2 answers

Delphi: Get the edit mode of VirtualStringTree after first click

I would like to edit a cell (node) from the VirtualStringTree directly after I click on the cell (something like a StringGrid with the options goEditing:True and goAlwaysShowEditor:True) I've setup the option of toEditable:True, toEditOnClick:True…
REALSOFO
  • 852
  • 9
  • 37
3
votes
1 answer

VirtualTreeView with UseExplorerThemes

I just discovered that using the Option toUseExplorerTheme allows to produce a nice selection rectangle for a VirtualStringTree. However, if the Option toGridExtensions is set and there are several columns in the tree, the vertical border of the…
wp_1233996
  • 784
  • 1
  • 4
  • 12
3
votes
1 answer

VirtualTreeView. How to modify child column width?

My friend is working in Delphi with VirtualTreeView and has next problem: He has two columns with data and childs for every row in first column. Is that possible not changing first column width to set maximum child column width? Legend: Circles…
Artem E
  • 369
  • 1
  • 4
  • 19