[MaxGUI] How to clear a treeview?

BlitzMax Forums/BlitzMax Beginners Area/[MaxGUI] How to clear a treeview?

Use
FreeTreeView(node_tree:tgadget)


Don't use direct method in MaxGUI, sometimes they're not safe because there's more behind the scene