-
Apr 13th, 2010, 07:37 PM
#1
Thread Starter
Member
-
Apr 13th, 2010, 07:57 PM
#2
Re: treeview with drive/dir/file
A treeiview can only show you the folder structure, so you at least need two controls. One to show folders, and one to show files. Like Windows Explorer does. Technically it can, but it wouldn't be very easy to use.
-
Apr 13th, 2010, 08:07 PM
#3
Thread Starter
Member
Re: treeview with drive/dir/file
hmm.. i was trying to find something more practical and friendly user rather then the typical drive/dir/file lists, any suggestion for me?
I wouldn't mind to try the treeview but if you say that it is rather hard i belive you LOL
Just so I can have a clue of what we are talking about, can you show me some random coding of what i was aiming at?
Appreciated!
-
Apr 13th, 2010, 08:08 PM
#4
Re: treeview with drive/dir/file
Originally Posted by baja_yu
... Technically it can, but it wouldn't be very easy to use.
Yes, it could be a bit cumbersome for the user. The files would be child nodes under the folder and if you were using associated file-type icons for each file, if any had a folder icon, it could be very confusing as to which was a folder and which was a file. Of course you can use a few spaces to further offset the file chlid-nodes so they don't directly line up with subfolders contained within the same main folder.
Code:
+ Main Folder
SubFolder of MainFolder
SubFolder File
SubFolder File
SubFolder of MainFolder
Main Folder File
Main Folder File
etc
- Main Folder
- Main Folder
etc
-
Apr 14th, 2010, 06:28 AM
#5
Thread Starter
Member
Re: treeview with drive/dir/file
Hmm.. i see that it would be quite complicated..
My main objective was to make it look like windows explorer, something like the filezilla treeview since my objective is to apply this kind of component to an FTP manager i'm working on, any clue on how to get this a better user interface and more practical?
The drive/dir/file lists do work nicely but i would rather have something like a treeview, is there a simple alternative or any suggestion from you guys?
Thanks!
-
Apr 14th, 2010, 06:37 AM
#6
Re: treeview with drive/dir/file
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Apr 14th, 2010, 09:21 AM
#7
Re: treeview with drive/dir/file
This is what you're looking for. It's more code than you probably expect, but it does exactly what you show in your screenshot.
http://btmtz.mvps.org/vbexplorer/
-
Apr 14th, 2010, 01:05 PM
#8
Thread Starter
Member
Re: treeview with drive/dir/file
I think this is it! Thanks for the help guys!
I'll be testing it thanks again!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|