rutledj
April 20th, 2001, 07:57 AM
Does anyone know how to create a tree in VB. I'm use to doing it in C where you have a node with a pointer to parent and child. Don't know how to accomplish this in vb
|
Click to See Complete Forum and Search --> : trees in vb rutledj April 20th, 2001, 07:57 AM Does anyone know how to create a tree in VB. I'm use to doing it in C where you have a node with a pointer to parent and child. Don't know how to accomplish this in vb Iouri April 20th, 2001, 07:59 AM You can use tree view control Iouri Boutchkine iouri@hotsheet.com Clearcode April 20th, 2001, 08:03 AM Create a new class with two members, Parent and Child of type Object and manipulate it as if these were pointers. HTH, D. ------------------------------------------------- Ex. Datis: Duncan Jones Merrion Computing Ltd http://www.merrioncomputing.com rutledj April 20th, 2001, 08:04 AM I don't really need a control but a logical tree I can transverse using a recursive function. John G Duffy April 20th, 2001, 01:11 PM The Treeview control actually has what you want. Its methods include the ability to access a nodes parent as well as siblings and Children. John G codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |