Shell Controls/ru
English · Русский
TShellTreeView
Компонент TShellTreeView находится на вкладке Misc.

Свойства компонента TShellTreeView.

Добавим компонент TShellListView. Соответственно укажем эти компоненты в свойствах друг друга.

Запустим программу. В Linux отображается корневой каталог.

А лучше сделать текстовым способом.
procedure TForm1.FormCreate(Sender: TObject);
begin
ShellTreeView2:= TShellTreeView.create(Form1);
ShellTreeView2.Left:=10;
ShellTreeView2.Top:=10;
ShellTreeView2.Width:=250;
ShellTreeView2.Height:=430;
ShellTreeView2.Parent:=Form1;
end;
From the Free Pascal wiki, page "Shell Controls/ru", as it stood on 2020-02-26 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.