maxgui treeview : get the parent node

BlitzMax Forums/BlitzMax Beginners Area/maxgui treeview : get the parent node

Hi !

How to know the parent of a node ?

for example :

 root
   i
   i_node 'mark'
       i
       i____ node 'sibly'
       i
       i____ node 'other'
    


when i click into 'sibly' how to determine that the parent node is 'mark' ?

Thanks !

gadgetgroup ?

.parent on the returned gadget I think but will have to check my graphical scripter sources to check how I did that. (perhaps even with a data structure behind to hold the nodes data for presentation)

gadgetgroup works fine. Thanks for the help.