Clear TreeView?

BlitzMax Forums/BlitzMax Programming/Clear TreeView?

ckob(Posted 2006) [#1]
I have a file selection which list all folders and files into a Treeview but when I reselect the file I want to list I would like it to clear the Treeview instead of adding to it. I have tried FreeTreeViewNode() and then recreating the node after but it errors like the node doesnt exist still so any ideas?


Perturbatio(Posted 2006) [#2]
http://www.blitzbasic.com/Community/posts.php?topic=61562#688391


ckob(Posted 2006) [#3]
yeah..
I said I tried that and it gives me an error even though I create the node so the post you gave me doesnt help, I saw it already.