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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top