TreeViewEx, DBTreeView, DbTreeLookupComboBox

TreeViewEx is an extended TTreeView component. It allows to move nodes by dragging them. DBTreeView is data-aware. DbTreeLookupComboBox is a TDBLookupControl that shows a DBTreeView in the dropdown-panel.

They work with Delphi 2.0 and 3.0.

The TDBTreeView component allows you to reflect hierarchical data from a DataSource in the form of a tree. This component descended from TCustomTreeView and has all of its features. But source data are taken from a dataset instead of the Lines property.

The user can add, change, delete and move data as usual in treeviews e.g. the Windows-Explorer..

Since version 0.3 you can use a TQuery as DataSource too. Version 0.5 is optimized a little bit, version 0.6 does not need a dataset-record with the root-ID no more. Since version 0.8 you can leave the property RootID empty - the DBTreeview will scan the structure of the data itself. Version 0.81 is bugfixed a little bit (Thanks to Main Chen). Version 0.82 allowes it to have more than one root node. Version 0.83 is bugfixed a little bit again (Thanks to Zlatko Ivankovic).

Note: You can find another TDBTreeView at the Delphi Super Page:
TDBTreeView, TDBTreeViewEdit, TTreeViewEdit, TLookUpTreeView, TDBLookUpTreeView. SHAREWARE by Russian System Development
This TDBTreeView is not compatible with my TDBTreeView. Don't mix them!.

The DbTreeLookupComboBox sample shows how to add buttons to the dropdown-panel:
The clear-button clears the ComboBox, the edit-button shows a dialog that allows the user to make changes at the lookup-datasource before selecting a value.

Please note: TreeViewEx, DBTreeView and DbTreeLookupComboBox are made for Delphi 2 and Delphi 3 only! I have never tested them with CBuilder, but I assume that this does not work. I have tried to make a Delphi 4 version - but I did not succeed. This is a version that compiles with Delphi 4: dbtv4b.zip - but get compiled is all it does, a lot of debugging is needed.

It can happen that this host will deliver you a just broken file cause of timeouts. Try again or notify me by email, I will send you the requested file with email.

Download (74KB, Version 0.85, Last modified: May-17-1998)

[Back]Back to The Delphi Component Building Site

1