Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using treeview control

Status
Not open for further replies.

enuthalapaty

Programmer
Dec 20, 2000
6
US
Can anybody give me any help as to how to use the treeview control in visual interdev
 
ou can;t do it all from the DTC.

There is a good example in the MS knowledge base. Basically, you instanciate a treeview, then add nodes thay are new instances of the node class, either base or children. For children, you have to refer to a parent.

There are a few graphicla bugs in the control. I would consider creating (or finding) a DHTML version of the same thing. If it is a big tree and it is data base driven, it may take too long to read everything before use. The onclick for the expander (+ or -) should create new nodes with DB data upon request.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top