FreeTreeViewNode not working?
BlitzPlus Forums/BlitzPlus Programming/FreeTreeViewNode not working?
| ||
When I use FreeTreeViewNode, it doesn't clear the items from the treeview.If initial For del=0 To elementNUM If physic(del,3) FreeTreeViewNode treenode(del) Next EndIf initia checks to make sure the nodes have been made in the first place, elementNUM is the number of elements which are each represented by a node. physic(del,3) is if the element is selectable. If it's not, there was never a node in the first place, so it doesn't delete it. treenode(del) is the handle of the node for the element. EDIT: It's fixed, but I don't know how; I was editing some code to fix another bug elsewhere in the program and this got fixed.. Thanks for the help, anyway. |