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
1
vote
2 answers

Delphi VirtualTreeview.OnAfterItemPaint issue when scrolling?

I'm getting issues drawing using OnAfterItemPaint event when horizontal scrolling is performed. Basically what I want to achieve is the merging of selected cells effect, say for example 1 text for column 1 & 2, another text for column 3 & 4, etc...…
Atlas
  • 1,353
  • 5
  • 19
  • 32
1
vote
2 answers

VirtualTreeView copy tree with data

How to copy all nodes from one VirtualTreeView to another? I tried to use CopyTo-function, but the Data was empty, why? Data contains reference to record (as usual). I've also tried to use the OnNodeCopying event as @Cosmin Prund suggested in his…
user2078264
  • 35
  • 1
  • 4
1
vote
1 answer

Why does my program crash after I call ReallocMemory?

I'm trying to modify the VirtualTreeView to see data in the tree nodes in the design mode. The allocating node memory is in the private static method so I can't do anything about it. I'm trying to reallocate the memory to match the new size then.…
JustMe
  • 2,329
  • 3
  • 23
  • 43
1
vote
1 answer

Delphi VirtualTreeView get drawing canvas when repaint is needed

I'd like some code to do the following with VirtualTreeView, considering I've never used it before: Add x amount of items Define static item size (x,y) Items must work like ListView Icon mode, so that they are automatically spanned horizontally and…
hikari
  • 3,393
  • 1
  • 33
  • 72
1
vote
1 answer

virtualtreeview add icon fail

here my simple code to add filename and their associated icon to virtualtreeview PFileInfoRec = ^TFileInfoRec; TFileInfoRec = record strict private vFullPath: string; vFileName: string; vFileIcon: hIcon; public …
S.FATEH
  • 451
  • 8
  • 16
1
vote
1 answer

add small icon to virtualtreeview

i am trying to add small icon to VirtualTreeview in delphi2010 i have ImageList attached to VirtualTreeview using the property images procedure TMainFrm.VSTGetImageIndex(Sender: TBaseVirtualTree; Node: PVirtualNode; Kind: TVTImageKind; Column:…
S.FATEH
  • 451
  • 8
  • 16
0
votes
0 answers

Tvirtualstringtree, more than 2000 rows ,it add nodes to bottom and gets invisible and also not triggered on draw functions?

I read texts about hiding and showing nodes for filtering purposes, but if we set more than 2000 row to make node visible/invisible, After this amount of row when we try to insert ChildNode to the top, it adds node to the bottom and no node shown in…
0
votes
1 answer

VirtualTreeView is not scrolling with mouse wheel

Using: Delphi 10.2.3 Tokyo, VCL Forms application, Windows 10 Pro, latest TVirtualStringTree I have a TVirtualStringTree populated with many nodes, and the vertical scroll bar is visible. However, nothing happens when trying to scroll with the mouse…
Steve F
  • 1,527
  • 1
  • 29
  • 55
0
votes
1 answer

How to make VirtualStringTree scrollbar visible?

I placed one VirtualStringTree(VST1) on form1 and added some data in it. The vertical scrollbar is visible regardless of the number of nodes and I did not do anything about default properties of node height. I then copied VST1 to form2 and named it…
Warren
  • 795
  • 1
  • 10
  • 19
0
votes
1 answer

How to disable expand in Virtualstringtree dblclick

I want to implement other events in virtualstringtree dblcick, No need to expand/collapse in dblcick, only need to use +/- to expand/collapse
0
votes
1 answer

Delphi XE5 cannot load VirtualTreeView components

I'm using Delphi XE5 and many years I'm using VirtualTreeView components. Now Delphi XE cannot load them. This messages appears: The procedure entry point could not be located in the dynamic link library C:\Users\Public\Documents\RAD…
Martin Ben
  • 11
  • 4
0
votes
0 answers

Virtual Treeview How to only show children=isvisible and not mother (isinvisible=false)

If I make mother invisible. then child is also invisible.. I want to filter independant of the structure in the tree.. just show certain nodetypes? So I want to show by filter children but not mother. It seems that if mother is invisible.. then…
maths
  • 13
  • 3
0
votes
2 answers

NTWaitforMultipleObjects error when freeing DLL in Delphi with TVirtualTreeView

TVirtualTreeview is pretty much awesome, but many times when I close an window referenced by a DLL in my project that has a TVirtualTreeview in it I get the NTWaitForMultipleObjects error. The problem is somewhere deep in TVirtualTreeview and…
Peter Turner
  • 11,199
  • 10
  • 68
  • 109
0
votes
1 answer

Installation problem of Virtual Treview in Embarcadero RAD Studio XE

I heard that Virtual Tree view is the best tree view for Embarcadero RAD Studio on Stac Overflow. So i have downloaded Virtual Treeview Setup 4.8.7.exe from its website & installed. It showed that it installs without any errors but it do not shows…
rudasagani
  • 157
  • 2
  • 12
0
votes
1 answer

InsertNode with UserData param in TVirtualStringTree

I need to insert some new nodes to TVirtualStringTree. I use the InsertNode method with a UserData param. But the tree can't show any data. How can I get the userdata on GetText/FreeNode event? TMyData = record Name: string; size:…
Leo
  • 1,947
  • 2
  • 20
  • 37