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?
|