Is it possible to remove all of the children from a certain node? If so, how?
Printable View
Is it possible to remove all of the children from a certain node? If so, how?
Function ClearNode(Wins As TreeView, Node As Integer)
Dim x As Integer
For x = 1 To Wins.Nodes(Node).Children
Wins.Nodes.Remove (Wins.Nodes(Node).child.Index)
Next x
End Function