PDA

View Full Version : Tree folder with multiple virtual folder



merlino
10-30-2008, 04:44 PM
Hello, this is my first post and I need help for how to manage a tree object.
In my project I have a tree which point to a folders, the user can navigate and create a new folders, then they can load a documents into. Now many time happen some document which are in some folder are related to more than one location, so what I like to do is the user can select a folder and assign to a more than one location, let said to select the folder which must be repeated and select all other location which this folder will be see.
So next time the user navigate through the folders they can see also this virtual folder many other time, but really is not in that location in the drive.
I know my english in not so good but if I make some confusion please tell me and I repeat in a better way.

merlino
11-21-2008, 05:09 PM
I like to donate to the comunity this project, I hope will be useful. It my need some adjustment but is working.
Here how is working, Yuo can choose a folder to be see in many location of the drive without need to copy files many times.
In a INI file will be memorize the path whith the virtual and destination folder, this file will be created thefirst time You make a folder to be virtual. After that will be modified to set new data.
Any time You navigate, the program read the INI file to see if the folder You are in is a virtual, if yes then it will show with this simbol <V> at the end of the string.
I hope You like,
By,By;)

autoplmst6
12-29-2008, 10:34 AM
Hey man! Interesting project!....But I have a doubt, how do you create, by using a tree object, a new folder ( insert a new node )? When I create a new folder and I select it I got a error in table in line 90 in tree's on-select event..

Anyway good job!

merlino
01-08-2009, 03:31 PM
:)Sorry for late,
I don't know how You wrote the code, but I make a modification were You have now two button, one for create a new folder and one for delete, (for safety only if empty). Olso when You are in the phase to assign where the virtual folder will be, the background of the tree object will change the color.
I hope this help.
by,by.
thanks for the answer.

merlino
01-08-2009, 03:34 PM
I send again bacause I don't see the attachment.

autoplmst6
01-21-2009, 01:54 AM
interesting job, thanks!