Explorer tree

Please discuss general Delphi programming topics here.

Explorer tree

Postby ina » November 25th, 2009, 9:25 am

I am using delphi 2010, Is there any component to display drive and folder like tree. I also want to add some item in tree.
ina
Active Member
Active Member
 
Posts: 14
Joined: November 24th, 2009, 4:34 pm

Re: Explorer tree

Postby geowink » November 25th, 2009, 9:42 pm

How about using TDriveComboBox, TDirectoryListBox and TFileListBox...

George
George
geowink
Junior Member
Junior Member
 
Posts: 37
Joined: November 29th, 2005, 3:59 am
Location: La Grange, Illinois

Re: Explorer tree

Postby ina » November 26th, 2009, 8:13 am

I want to use a tree
I think I can use TTreeView, can anyone give me some sample to make explorer tree like left part in windows explorer?
ina
Active Member
Active Member
 
Posts: 14
Joined: November 24th, 2009, 4:34 pm

Re: Explorer tree

Postby geowink » November 26th, 2009, 2:03 pm

I found this using Google...

http://www.jam-software.com/shellbrowse ... ents.shtml

Not free but a start maybe.

George
George
geowink
Junior Member
Junior Member
 
Posts: 37
Joined: November 29th, 2005, 3:59 am
Location: La Grange, Illinois

Re: Explorer tree

Postby Kambiz » November 26th, 2009, 4:40 pm

In Samples palette of my Delphi 7 there are these components:

  • TShellTreeView
  • TShellListView
  • TShellComboBox
  • TShellChangeNotifier
With these components you can have Windows Explorer in your application.

The package name is "Shell Control Property and Component Editors" and you can find it at C:\Program Files\Borland\Delphi7\Bin\dclshlctrls70.bpl.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: Explorer tree

Postby geowink » November 27th, 2009, 1:02 am

That is interesting because none of those components are in my Delphi 2009 Pro version. Any idea where they went?

George
George
geowink
Junior Member
Junior Member
 
Posts: 37
Joined: November 29th, 2005, 3:59 am
Location: La Grange, Illinois

Re: Explorer tree

Postby Kambiz » November 27th, 2009, 8:32 am

I couldn't find design-time package of Shell Controls for Delphi 2009, but its runtime package is in Windows system directory.

The file name of the runtime package for Delphi 2009 is vclshlctrls120.bpl.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron