Difference between revisions of "Shell Controls"
From Lazarus wikiJump to navigationJump to search
Eastorwest (talk | contribs)
Jwdietrich (talk | contribs)
|Line 29:||Line 29:|
Revision as of 20:06, 27 August 2013
English (en) │
русский (ru) │
The Shell Controls are a series of advanced controls destinated to beaultifully represent files and directories of the system.
TShellTreeView component under the tab Misc.
Component Properties TShellTreeView.
Add component TShellListView. Set properties
ShellTreeView1.ShellListView := ShellListView1; ShellListView1.ShellTreeView := ShellTreeView1;
Run application. We can see root directory in Linux.
Better way to do is:
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;