AddGadgetItem, returns

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

AddGadgetItem, returns

Post by Shannara »

This is mainly for treeview but still....

The ability of when adding a gadget item (in this case a treeview node), it will return a long representing that node. That way, whenever we use any other treeview function, like, oh i donno, adding another node, or sub nodes, we can pass the above node at any time, instead of having to write TONS of lines of code just do so a simple one liner...