traverse a TreeView

MikeLI

Member
Joined
Dec 28, 2005
Messages
8
Programming Experience
Beginner
Hi All,

I would like to ask how to traverse a TreeView.

Private Sub showTree (TreeView t)
‘display a treeView to the screen which structure is an unknown

End Sub

Mike
 
It Will Be Shown When You Run The Form

Whatever tools you put in the form it will be displayed automaticlly when you run the project. But I am not getting what exactly you want? Just elaborate.
 
MikeLI said:
Hi All,

I would like to ask how to traverse a TreeView.

Private Sub showTree (TreeView t)
‘display a treeView to the screen which structure is an unknown

End Sub

Mike

dim tNode as treenode

for each tnode in treeview1.nodes
'do whatever processing of nodes you want here.
next
 
Back
Top