There are many tree controls...

samsoncaFife, United Kingdom5 つ星
There are many tree controls around, many of which allow you to produce excellent ways for a user to select and view hierarchical data. Most tree controls however do not allow you to bind them to a data source and use no code whatsoever to provide the basic tree, ActiveTreeView does !!!! It uses shaped record sets that in themselves can take a bit of time to learn, but once mastered, the treeview control itself is easy. Then you find that there are easy to use properties that indicate where in the tree the User is pointing to, and this opens up a whole host of programming possibilities. I have an 8 level hierarchical database and all this is displayed with interactive data sets displayed alongside the treeview, all with little more than 20 lines of code !!! Users love the control, as they only need to move the pointer over the control and the corresponding data is displayed alongside quickly. This fast access is available as you can use the same record set used by the treeview control, so there is no need for continual database access in your code.