delete tree view list

I

iccsi

I would like to delete the tree view list and regenerate.

I can call my function to regenerate the tree.
What is the statment to delete the tree view?

Your information is great appreciated,
 
D

Dale Fye

Because I use tree views in several places of one of my applications, I use a
subroutine to do it, and just pass the treeview control as an object to the
subroutine.

Public Sub ClearTree(tvw As MSComctlLib.TreeView)

tvw.Nodes.Clear

End Sub
 
Top