Treeview : determine node index

BlitzMax Forums/BlitzMax GUI Programming/Treeview : determine node index

Hi !
How to determine the index of a treeview node (if you just know the node value ? Next to use with the maxgui function 'InsertTreeViewNode:TGadget( index,text$,node:TGadget,icon=-1 )'

Thanks !