Sign in Join
Wiki copytemporary

Shell Controls: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11The Shell Controls are a series of advanced controls destinated to beaultifully represent files and directories of the system.
22
33### TShellTreeView
44
55TShellTreeView component under the tab Misc.
66
7-<div>
8-
9-<figure>
10-<img src="TShellTreeView.png" title="TShellTreeView.png" />
11-<figcaption>TShellTreeView.png</figcaption>
12-</figure>
13-
14-</div>
7+![](/wiki-images/3/3c/TShellTreeView.png)
158
169Component Properties TShellTreeView.
1710
18-<div>
19-
20-<figure>
21-<img src="Property.png" title="Property.png" />
22-<figcaption>Property.png</figcaption>
23-</figure>
24-
25-</div>
11+![](/wiki-images/4/47/Property.png)
2612
2713Add component TShellListView. Set properties
2814
2915``` pascal
3016ShellTreeView1.ShellListView := ShellListView1;
3117ShellListView1.ShellTreeView := ShellTreeView1;
3218```
3319
34-<div>
35-
36-<figure>
37-<img src="Выделение_221.png" title="Выделение_221.png" />
38-<figcaption>Выделение_221.png</figcaption>
39-</figure>
40-
41-</div>
20+![](/wiki-images/1/19/%D0%92%D1%8B%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5_221.png)
4221
4322Run application. We can see root directory in Linux.
4423
45-<div>
46-
47-<figure>
48-<img src="Form1_220.png" title="Form1_220.png" />
49-<figcaption>Form1_220.png</figcaption>
50-</figure>
51-
52-</div>
24+![](/wiki-images/f/f5/Form1_220.png)
5325
5426Better way to do this is:
5527
5628``` pascal
5729procedure TForm1.FormCreate(Sender: TObject);
5830begin
5931 ShellTreeView2:= TShellTreeView.create(Self);
6032 ShellTreeView2.Left:=10;
6133 ShellTreeView2.Top:=10;
6234 ShellTreeView2.Width:=250;
6335 ShellTreeView2.Height:=430;
6436 ShellTreeView2.Parent:=Self;
6537end;
6638```
6739
68-<div>
69-
70-<figure>
71-<img src="Form1_222.png" title="Form1_222.png" />
72-<figcaption>Form1_222.png</figcaption>
73-</figure>
74-
75-</div>
40+![](/wiki-images/4/49/Form1_222.png)
7641
7742---
7843*From the Free Pascal wiki, page "Shell Controls", as it stood on 2021-02-11 after a change by Wp, 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](/wiki-contact).*

Back to history