fetching a TreeView Node's text

BlitzPlus Forums/BlitzPlus Programming/fetching a TreeView Node's text

NetGamer(Posted 2005) [#1]
I'm writing a set of modeless requester gadgets for loading/saving files while in-game. I've read up on treeviews here and on blitzcoder so I can generate a treeview of the directory (and files) which works fine. However, I can't seem to locate the right function in BlitzPlus to actually retrieve the text of the selected item in the treeview.

I've tried selectedgadgetitem(gadget) and gadgetitemtext(gadget,index) but either I'm not specifying the correct gadget (treeview handle or node handle?) or I have no idea what to specify for the index. Which function is the right one and what should the parameters actually reference?


NetGamer(Posted 2005) [#2]
Bump - Surely someone knows if this can be done or not (and if so, how). I can't imagine the developers left out a way to retrieve the text associated with a node (but I can imagine they didn't get around to documenting it).


NetGamer(Posted 2005) [#3]
It is now included in the 1.41 update (TreeViewNodeText).