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
0 answers

Override the way the checkbox changes in Virtual TreeView

I am using Virtual TreeView. It seems that Virtual TreeView will automatically update the node check state when its children check states are changed. Is there a way to prevent this? Thanks
alancc
  • 487
  • 2
  • 24
  • 68
0
votes
1 answer

Check state in Virtual TreeView seems not virtual

I am using Virtual TreeView. In my understanding, since the whole treeview is virtual, the node properties(including the check state) are set on request(such as on a OnData event handler) instead of storing together with the node, since the node is…
alancc
  • 487
  • 2
  • 24
  • 68
0
votes
1 answer

Implementing VirtualTreeView TVTDefaultAccessibleProvider in C++ Builder

When using VirtualStringTree to add accessibility support it is required to include the unit VirtualTrees.Accessibility in the uses section. This works in Delphi. The equivalent of this in C++ Builder would be to include the #include…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
0
votes
1 answer

Cannot select the root node in Virtual Tree View

I am using Delphi XE3 with Virtual Tree View. My codes are below: type TMyData = record Caption: string; end; procedure TForm1.Button1Click(Sender: TObject); var RootNode: PVirtualNode; PData: ^TMyData; begin RootNode :=…
alancc
  • 487
  • 2
  • 24
  • 68
0
votes
0 answers

virtualtreeview programmatically moving the selection bar (responding to down/up key)

How to move the selection in the treeview, akin to dbgrid.next/dbgrid.previous? I'm trying to move the selection bar in the VST when down/up key is pressed in a TEdit control. This I have tried, works, but seems too verbose to me for a simple…
JeffP
  • 539
  • 1
  • 5
  • 19
0
votes
0 answers

How to pass C++Builder Method to Delphi Interface - InterateSubtreein Delphi Ctrl Virtual Treeview - Rad Studio C++ Builder XE

I have seen an example in Stackoverflow submitted by H.K link: example "virtual treeview" IterateSubtree in C ++ Xe1-7 See sample code from answer submitted by H.K at the bottom of this question . The problem I am having is using it in my Builder…
Daryl
  • 1
0
votes
1 answer

How to Simulate TListView(vsIcon mode) with Virtual TreeView

I am using Delphi XE3. Now I try to simulate TListView(vsIcon mode) with Virtual TreeView. Is that possible? Basically this is: (1) A tree with only root nodes. That is easy to implement. Just use the following codeline is…
alancc
  • 487
  • 2
  • 24
  • 68
0
votes
1 answer

How to Get the Current Selected Node in Virtual Tree View

I am using Delphi XE3 with Virtual Tree View. If multiselect is False, how to get the current selected node in the virtual tree view. I find in document, and there is a related method: TBasedVirtualTree.Selected[]: This requires a PVirtualNode as…
alancc
  • 487
  • 2
  • 24
  • 68
0
votes
0 answers

Virtual TreeView problem in placing vertical scrollbar on the right side in the RightToLeft bidimode

I use the following code to place VirtualTreeView vertical scrollbar on the right side in the RightToLeft bidimode and place it on the left side in the LeftToRight mode. procedure TForm1.Button2Click(Sender: TObject); const LSB =…
saeid2014
  • 133
  • 8
0
votes
2 answers

How to add a saved tree (in a file) to another tree as a subtree?

Is there any way to add locally stored (in a file) TVirtualStringTree to another as a subtree under a specific node? In the example, I used the TTreeView for the sake of speed, but I need to use the TVirtualStringTree. I tried to find something…
0
votes
3 answers

VirtualStringTree - Any way to determine when a collection of nodes have been checked?

I have a VST using TriStateChecking. This is connected to a database table, so when the user checks a node, its checked field is updated in the database. I would like this to be invisible to the end user; that is no 'Save' button. I am currently…
Simon
  • 9,197
  • 13
  • 72
  • 115
0
votes
1 answer

DKLang's StoreList and Virtual treeview's header text translation

So I use the DKLang Localization Package for multi-language support. TDKLanguageController has a property called StoreList (of type TStrings), where you can enter a TMask-compatible wildcard strings to force a property to be processed by DKLang, for…
Edwin Yip
  • 4,089
  • 4
  • 40
  • 86
0
votes
1 answer

TVirtualStringTree. How to check a node and its children with a single confirmation?

I have a component of type TVirtualStringTree. The option toCheckSupport is enabled. The options related to the propagation of checkstates are also enabled, because the propagation is needed. I want to implement checking a node with a confirmation…
0
votes
1 answer

VirtualStringTree - How to make it so that the nodes simply do not have a parent

I'm trying to move the nodes to the root of the tree so that they do not have a parent Tree.MoveTo(LNodes[i], nil, amAddChildFirst, False); But they are simply deleted! How to make it so that the nodes simply do not have a parent?
r00xus
  • 79
  • 6
0
votes
0 answers

dragNdrop all columns between two VirtualTreeView

How to copy all columns between two VirtualTreeView? In my case only the first one is copied. I use VirtualTreeView v6.6. The code that I'm using: type PItemNode1 = ^TItemNode1; TItemNode1 = record Name: WideString; Order: string; …
Deluxe
  • 17
  • 2