Hello,
I am trying to make a program which shows files in their folders as a tree.
Therefor I use the treeview library.
I am as far as displaying all folders and files in a tree view but are unable to retrieve the filename with there coresponding nodedata when clicked on a tree item.
I have searched in this forum and found several trheads but i have no luck, it did not work so far.
Can someone help me.
I need to save some data per file and know that the tree1.imageindex can be used there. I need help to find out how it works. Saving the index to a node so I can match that number to a filename save in a list.
My source so far is enclosed.
regards, Rob
I am trying to make a program which shows files in their folders as a tree.
Therefor I use the treeview library.
I am as far as displaying all folders and files in a tree view but are unable to retrieve the filename with there coresponding nodedata when clicked on a tree item.
I have searched in this forum and found several trheads but i have no luck, it did not work so far.
Can someone help me.
I need to save some data per file and know that the tree1.imageindex can be used there. I need help to find out how it works. Saving the index to a node so I can match that number to a filename save in a list.
My source so far is enclosed.
regards, Rob