Parse a Treeview?
BlitzMax Forums/BlitzMax Programming/Parse a Treeview?
| ||
How can I parse all the nodes in a treeview ( preferably without keeping them in a separate data-structure when I create them, as this can be wasteful when it's not really necessary. ) I see a CountTreeViewNodes() function which ( oddly ) returns the number of children rather than the total number. But aside from the odd naming convention, this is fine, I can recurse from the root node with this. But how do I *get* the child nodes? |
| ||
.Kids:TList on TGadget saves all children |
| ||
Aha, I didn't realise that was used for TreeViewNodes as well. Then the CountTreeViewNodes() function is not really needed, I guess. Thanks for that. |