|
-
April 20th, 2001, 07:57 AM
#1
trees in vb
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
-
April 20th, 2001, 07:59 AM
#2
Re: trees in vb
You can use tree view control
Iouri Boutchkine
[email protected]
-
April 20th, 2001, 08:03 AM
#3
Re: trees in vb
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
-
April 20th, 2001, 08:04 AM
#4
Re: trees in vb
I don't really need a control but a logical tree I can transverse using a recursive function.
-
April 20th, 2001, 01:11 PM
#5
Re: trees in vb
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|