[MaxGUI] How to clear a treeview?

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

Hi,

I'd like to clear a treeview gadget. Calling myTreeview.Clear() throws an "invalid gadget type"-error.

Anyone knows how to do that?