maxgui treeview : get the parent node

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.