|Last modified: 14-11-2012|
VirtualTree View is a fast, small-footprint open-source VCL control for Delphi. It's usually used to display data in a tree, but data can also be used in regular grid. Support can be found at http://support.soft-gems.net/forums.
Important: There are very few replies in the forum above, so it doesn't look like VTV has much traction these days :-/
Unlike similar controls, VTV uses small records instead of objects to hold nodes; Navigation is done through doubly-linked lists.
Just download and run the Windows installer. It will add the path to VTV, and compile the source files.
After running the installer and launching Delphi, you might get an error "Entry point not found". This might be solved by cancelling, and then, compile and install the DPK packages manually... in which case, you might get a "[Fatal Error] VirtualTreesReg.pas(8): File not found: 'Compilers.inc': If you get this, add "drive:\Program Files\Soft Gems\Virtual Treeview\Source\" to the Library path in the Environment Options, and try again. Once installed, the widgets are available in the Virtual Controls tab.
Here's how to add a row, and remove the "+" sign, ie. use the tree as a regular grid:
Even though Delphi has the directory in its Library Path, and virtualtrees.dcu is there :-/