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
1 answer

How to get hot node coords of TVirtualStringTree?

I'm trying to paint VirtualStringTree's cell differently when mouse is over it. How can I detect the coords of hot node? I know there's a HotNode property but it returns only Node that is under mouse cursor. I need to get cell coords (X,Y) of that…
Linas
  • 5,485
  • 1
  • 25
  • 35
3
votes
1 answer

VirtualTreeView: Edit next column

How can I configure a virtual tree view to edit the next column when user presses TAB? +--------+-----------+ + |1 + |2 + +--------+-----------+ + + + +--------+-----------+ Default behaviour is editing the next…
jpfollenius
  • 16,456
  • 10
  • 90
  • 156
3
votes
2 answers

How to incremental search using TVirtualStringTree

I am learning TVirtualStringTree usage and must implement an incremental search. When the user enters characters into a TEdit I want to move the focused node to the first qualifying node in the tree. I'm reading through all the demo and example code…
greymont
  • 39
  • 1
  • 3
3
votes
1 answer

Delphi what is the Ideal method to populate a VirtualStringTree?

So I'm working with Delphi 2010 and it's been a while since I began using the VirtualTreeView (precisely VirtualStringTree)..and it seems that I'm doing something in a wrong way..since things aren't working as I'm expecting. I'm trying to populate…
DZkid
  • 149
  • 1
  • 3
  • 9
3
votes
0 answers

Why don't icons appear beside all the tree nodes I expect?

I'm trying to scan a folder for files & subfolders and then add the result to a VirtualStringTree .. and this works great except when when it comes to add an icon to each node of the treeview (icon are from the system shell icons). A weird problem…
DZkid
  • 149
  • 1
  • 3
  • 9
3
votes
4 answers

Devexpress ExpressQuantumTreeList vs. Virtual Treeview?

From experience, what is the best general purpose tree list for Delphi: Virtual Treeview or Devexpress ExpressQuantumTreeList ? I'm currently using the Virtual Treeview, which is fine for my needs but I'm starting a new project and would like to…
jonjbar
  • 3,896
  • 1
  • 25
  • 46
3
votes
4 answers

Steps to build Virtual Treeview in Delphi 2010

Just bought Delphi 2010 (having skipped 2009) and I am trying to get my project to compile. However, I am running in to a bunch of problems compiling Virtual Treeview 4.8.5. Can someone outline a fool proof way of compiling and installing Virtual…
Christer Fahlgren
  • 2,414
  • 2
  • 21
  • 16
3
votes
1 answer

How to remove all nodes from TVirtualStringTree?

How to remove all nodes, including VirtualStringTree descendants, in the event handler closes the form containing VirtualStringTree ?
user1851132
  • 341
  • 1
  • 6
  • 15
3
votes
1 answer

When to redraw VirtualTreeView after OnNewText event?

I use this code to fill VirtualStringTree and allow renaming items: //--------------------------------------------------------------------------- // Structure for the…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
3
votes
1 answer

Virtual TreeView Loop

I would like to go through ALL the roots of a VirtualTreeView and delete them. I don't want to clear it. I get an access violation with this code: var Node : PVirtualNode; begin if VirtualStringTree1.GetFirst = NIL then exit; Node := NIL; …
Ben
  • 3,380
  • 2
  • 44
  • 98
3
votes
1 answer

Delphi TreeView DestroyWnd/CreateWnd slow

we have a TTreeView that has many nodes - typically 20,000 nodes and more. This TTreeView is used in a docked interface (DevExpress Docking Library). When any form in the application is docked or undocked, the dockable form's handles are changed. …
Alan Clark
  • 2,017
  • 21
  • 28
3
votes
1 answer

Ctrl+End behavior of TVirtualStringTree

When user press Ctrl+End, VirtualStringTree jumps to the end vertically which is fine but also horizontally. I don't want it to go to the end horizontally. Horizontal scroll should be leaved as is. How to tell this?
Mehmet Fide
  • 1,643
  • 1
  • 20
  • 35
2
votes
1 answer

Delphi VirtualTreeView - autofocusing node on node hover

I'm dragging a node from one app to another. It's working fine only if I previously select node. It's because I collect data using GetNodeData(FocusedNode) method. I'd like somehow auto-focus the node on node hover. Is it possible? I'm using…
Jacek Kwiecień
  • 12,397
  • 20
  • 85
  • 157
2
votes
2 answers

Setting caption for Virtual Tree List nodes

I can't understand the process described in documentation. It says to use event: procedure TForm1.VSTGetText(Sender: TBaseVirtualTree; Node: PVirtualNode; Column: Integer; TextType: TVSTTextType; var CellText: WideString); var …
Jacek Kwiecień
  • 12,397
  • 20
  • 85
  • 157
2
votes
3 answers

Trying to install Virtual Treeview for Delphi XE2

Found trunk here: http://virtual-treeview.googlecode.com/svn/trunk/ Downloaded files... Worked through some errors with search paths (VirtualTreesD could not locate required package "dclstd" - it was in lib/win32/release, added it to library Delphi…
Tom
  • 3,587
  • 9
  • 69
  • 124