Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where Is TShellListView in Delphi 2009?

We have recently moved to Delphi 2009. I can't find the TShellListView and TShellTreeView controls. Do I need to install something extra?

From searching the web it seems they are shipped with Delphi 2009 but for some reason they havent been installed.

Has anyone had a similar problem?

Answer here

like image 251
Toby Allen Avatar asked Feb 23 '09 16:02

Toby Allen


1 Answers

It looks like this package is not installed by default.

Navigate to Delphi demos (they are in "c:\Users\Public\Documents\RAD Studio\6.0\Demos" on my machine; you should replace 6.0 with the appropriate version if you're not running Delphi 2009) and open subfolder DelphiWin32\VCLWin32\ShellControls.

Open and compile vclshlctrls.dproj.

Open and compile dclshlctrls.dproj.

While this last project is still open, right-click on the dclshlctrls120.bpl item in the Project Manager window (View, Project Manager) and select Install from the popup menu. You should see a dialog box informing you of new components. One of them is TShellListView.

Information

Package C:\Users\Public\Documents\RAD Studio\6.0\Bpl\dclshlctrls120.bpl has been installed. The following new component(s) have been registered: TShellChangeNotifier, TShellComboBox, TShellListView, TShellTreeView.

New package should now also be visible in the Component, Install Packages window ("Shell Control Property and Component Editors").

like image 140
gabr Avatar answered Oct 24 '22 05:10

gabr