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
19
votes
4 answers

Firemonkey version of VirtualTreeView

Does anyone happen to know if there is a Firemonkey version of the popular VirtualTreeView in preparation? Also, has anybody collected some experiences with porting custom controls to Firemonkey and can estimate how much work it would be to port the…
jpfollenius
  • 16,456
  • 10
  • 90
  • 156
13
votes
3 answers

Is it possible to change the color of a row in a virtual string tree?

I want to change the color of text in a specific row of a virtual string tree. is it possible?
jhodzzz
  • 155
  • 1
  • 8
12
votes
4 answers

VirtualTreeView: properly handling selection changes

This question will seem obvious to those who haven't encountered the problem themselves. I need to handle selection changes in VTV. I have a flat list of nodes. I need to do stuff with all currently selected nodes whenever User clicks a node; User…
13x666
  • 123
  • 1
  • 7
10
votes
1 answer

Iterating over nodes and its childs and modify data

I'm using Virtual Tree List for delphi 2009. I've created a tree with data such as: type PTreeData = ^TTreeData; TTreeData = record FCaption: String; FPath: String; end; I want to iterate over all elements but in specific order. I…
Jacek Kwiecień
  • 12,397
  • 20
  • 85
  • 157
10
votes
1 answer

When should I use VirtualTree's BeginSynch vs BeginUpdate?

We've started using VirtualTreeView v5.5.3 with Delphi7 since 1 year and love it! We would like to use the full potential of the component, but there is only a little information about the BeginSynch method in the help file. When should BeginSynch +…
SzakiLaci
  • 347
  • 1
  • 16
10
votes
1 answer

How do I fill in the area above the scroll bar in a TVirtualStringTree?

I have a need to fill in (with black) the little white square that I've highlighted in the picture below. I have tried adding extra columns. I have tried expanding the PaintInfo.PaintRectangle. I have tried every setting on the Amount column that…
Nick Hodges
  • 16,902
  • 11
  • 68
  • 130
9
votes
1 answer

How to make a selection over a large area of cells in virtualtreeview?

I am using TVirtualTreeView as an excellent alternative to the old TStringgrid. On one feature that I am missing though, is the possibility to make selections of an any area of cells (other than a single column, row or the whole area). I can not…
Tool
  • 419
  • 2
  • 8
9
votes
2 answers

How to install Virtual Treeview?

Virtual treeview by Mike Lischke seems so popular on the web and as third party component. I just downloaded version 4.8.7 on my machine. I have Delphi 2010 and Delphi 7.0 in 2 partitions. Aftter clicking installer of virtual treeview, a log file…
Warren
  • 795
  • 1
  • 10
  • 19
9
votes
5 answers

Switching from ListView to VirtualStringTree

I am trying to build my projects with a VirtualStringTree rather than a Listview, because of the vast speed difference. The thing is, even after looking thru the demo's, I just can't figure out exactly how I would use it as a ListView. Like, adding,…
Jeff
  • 12,085
  • 12
  • 82
  • 152
9
votes
5 answers

TVirtualStringTree - resetting non-visual nodes and memory consumption

I have an app that loads records from a binary log file and displays them in a virtual TListView. There are potentially millions of records in a file, and the display can be filtered by the user, so I do not load all of the records in memory at one…
Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770
8
votes
1 answer

Delphi: Changing focus after deleting a node from a virtual string tree

I have a component of type TVirtualStringTree (let us call it VST). It has nodes in the form of a list, i.e. all the nodes are at the same level. I want to change a focus after deleting a node (with the DeleteNode method) and I used OnFreeNode…
Chris S
  • 151
  • 8
8
votes
1 answer

VirtualTreeView - different color of text in the same node

I am attempting to create a view in TVirtualStringTree which will be similar to something like this: In the above example I have shown some of the possible scenarios I want to reach. FolderA has bold text and after that red-colored unbolded text…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
8
votes
1 answer

VirtualStringTree columns should adapt size when one column is hidden

I have a VST with 3 columns that evenly take the available space. I have set hoAutoSpring in Header.Options, and all columns have Column[x].Option have coAutoSpring set. Now I want to be able to hide the last column and maintain that the other…
ralfiii
  • 584
  • 4
  • 13
8
votes
1 answer

Is it possible to use VirtualStringTree for a master detail grid view?

Alright I got something really tricky here... I would like to DRAW/USE Headers to a ChildNode. I think the idea is reasonable because it would look amazing to have headers in subnodes so the childnodes can be specified in a table. Is there a…
Ben
  • 3,380
  • 2
  • 44
  • 98
7
votes
2 answers

VirtualTreeview drag and drop to arrange nodes in a list

I've got a list of nodes. I would like to add a drag-and-drop-to-rearrange feature, but I don't know how to go about doing this. I tried using TVirtualStringTree's OnDragDrop event, but I couldn't figure it out. I looked at the documentation and…
Jeff
  • 12,085
  • 12
  • 82
  • 152
1
2 3
20 21