How to get index of treeview node?

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

If only I had a dollar for every time I hacked something together to work around MaxGUI issues. Especially between PC/Mac. But hey. That's the fun part of being a programmer right? Right?!?? ;)