Select Treeview node
BlitzMax Forums/MaxGUI Module/Select Treeview node
| ||
Many started threads for such simple questions, sorry about that. :/ This question is about the treeview gadget. I have a treeview gadget and I'd like to force a selection, like root.SelectNode(), any way of doing that? |
| ||
SelectTreeViewNode |
| ||
That doesn't make sense... what Tree am I selecting in? or what node am i selecting? SelectTreeViewNode only takes one parameter. Also, how would I get the "text" from a selected node? Last edited 2011 |
| ||
Nodes are TGadget types not indexed items in MaxGUI. Both AddTreeViewNode and InsertTreeViewNode return node gadgets that can be used as parameters to the SelectTreeViewNode function. GadgetText and SetGadgetText can be used with node gadgets. Last edited 2011 |
| ||
Btw: Is there a cross-platform solution to give a tree item a tooltip? |