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

How to SelectAll only visible VirtualTreeView items?

I have hidden some VirtualTreeView items using VirtualTree.IsVisible[n] := false;. In one function I iterate through all selected items using VirtualTree.GetNextSelected(n); method. But there is a problem - if I manually select a few items for…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
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…
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…
0
votes
1 answer

Execute code on Mouse Click and Keyboard node selection - Virtual Treeview

I have Virtual Treeview and I use OnClick to execute code, when user clicks on node. In order for the same code is executed also when user uses keyboard to move from node to node, I use OnFocusChanged. In OnFocusChanged I call OnClick, so it is…
Mike Torrettinni
  • 1,816
  • 2
  • 17
  • 47
0
votes
1 answer

What are the scrolling limits of a Virtual Tree View?

How can I get the max scroll for the X and Y in virtualstringtree during onchange event?
XBasic3000
  • 3,418
  • 5
  • 46
  • 91
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
1 answer

Is it possible to have multiple header rows in a virtual string tree?

I have a need for multiple fixed rows for the header of a virtual string view - something that looks like the effect you get if you set a StringGrid's FixedRows property to a value greater than 1. Is there a way to achieve this? Some searching on…
lukeck
  • 4,528
  • 3
  • 27
  • 29
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

How to determine if a cell is in the view port of a Virtual treeview?

How to determine if a cell is in the view port of a Virtual treeview? Thanks.
Edwin Yip
  • 4,089
  • 4
  • 40
  • 86
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
0 answers

VirtualDrawTree: Draw Child Nodes side by side without Columns?

I'm working with VST / VDT since many years. But now I'm kind of stuck on a project and wonder how you could draw Child Nodes side by side, right next to each other, instead of "row by row"? Pictures say more than words: 1) Currently, which is the…
Mario Werner
  • 1,771
  • 14
  • 24
0
votes
2 answers

VirtualTreeView - Embarcadero C++ Builder XE7 - 64 bits

I've just downloaded last version of VirtualTreeView. I've been able to generate the runtime and design packages in 32bits with Embarcadero C++ Builder XE7. But when trying to build the runtime one in 64 bits I'm getting this error: [DCC Fatal…
0
votes
1 answer

How to use TJvBalloonWindow as the hint window for Virtual treeview?

I have a 'hint window leftovers' problem with Virtual Treeview in an Office add-in, and now I want to customize the hint window to solve the problem. I want to use TJvBallonHint from the JVCL package, which is also used in other parts of my program.…
Edwin Yip
  • 4,089
  • 4
  • 40
  • 86
0
votes
0 answers

VirtualTreeView node height based on icon font size

I am trying to set node height based on system icon font size. My code so far: LOGFONT lf; ZeroMemory(&lf, sizeof(lf)); if (SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lf), &lf, 0)) { // This is a hack because font height itself…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
1 2 3
20
21