maxgui treeview : get the parent node

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

hub(Posted 2006) [#1]
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 !


hub(Posted 2006) [#2]
gadgetgroup ?


Dreamora(Posted 2006) [#3]
.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)


hub(Posted 2006) [#4]
gadgetgroup works fine. Thanks for the help.