In the patch i left some notes and tryed to make it clear,
I can’t just select the right index of list i want cos indexcount of treeview is related to both folders/files , so what i did can work just for first folder to expand, then it close and next folder as a cumulative index (including previous folder files), of course, mouse can 't know it :)
I thouhgt was helpful to find all maxDepths from every folder to know how the real count is and let mouse selector knows about it…that was the idea, but I do not know how to do it, after some hours, now i’ll need help :)
When i started to look for a way to browse files, i found woei modules and i found everything very attracting, also if difficult to understand about patching (my ignorance i guess), thought i found not attracting file browser cos it uses a folder selector and a relative file selector.
Now, not only for space on GUI, i think…if there is module that expands trees on filesystem, why shound’t i just use that to expand my trees on GUI ? :)
Anyway, i just think who coded TreeView introduced indexes to do soemthing like that, i’m just not into vvvv that much to work it out easily, but i’ll try again tomorrow :)
Well my purpose was to have a fileBrowser to load textures/patchs/whatever in live performance, first I studied all modules already in forum (woei e.g.), but i decided to use treeView, some reflections about it :
TreeView does not export a valid fileSystem Path for browsed files, actually it takes as root the directory where patch is saved, so u gotta strip file path by urself.
Depths are very smart, but maybe would be useful a flag to recognize folders/files.
I packed my patch cos I’m also using some utilities to have pixel position instead of relative postion, every suggestions, corridge or whatever is appreciated, I need to learn more.
A great thanks to West, who is ever avalilable to teach and show stuff to me, and thanks to all ppl involved in this nice project…see u at Node :)