Clearing a TreeView

BlitzPlus Forums/BlitzPlus Programming/Clearing a TreeView

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

What's the best way to clear out and rebuild a tree-view? I'm downloading the content for it from a website and the tree is built based on the content of the download.

I want the user to be able to click a button to refresh the treeview - but obviously I'll need to empty it first. How?

All help appreciated. :)