Treeview Expand/Collapse Nodes
BlitzMax Forums/MaxGUI Module/Treeview Expand/Collapse Nodes
| ||
How do I find out if a particular treeview node is expanded or collapsed? I'm trying to write code that when a node is double clicked, expands the node if it is collapsed, and collapses the node if it is expanded. Any variable within the node object that can give me this information? Right now I can only either expand or collapse (via Expand/Collapse functions). Thanks! |
| ||
This stumped me a while back too. I guess you could create your own list and track the clicks manually. If you were using wxMax you could use IsExpanded()... |
| ||
Pehaps you need to keep your own node tree model and track open/closed-ness with that? :-) |
| ||
I'll do that. Thanks for the advice guys. |