How to get index of treeview node?

BlitzMax Forums/BlitzMax Programming/How to get index of treeview node?

I can't seem to find a function for it?

Thanks in advance