Skip to content

Commit cba5978

Browse files
ver. 1.1.2
- Fixed option list for ListView in Demo.
1 parent a678279 commit cba5978

File tree

6 files changed

+30
-24
lines changed

6 files changed

+30
-24
lines changed

Demo/ShellControlsDemo/MainUnit.dfm

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ object MainForm: TMainForm
33
Top = 114
44
Caption = 'Shell Controls Demo'
55
ClientHeight = 571
6-
ClientWidth = 853
6+
ClientWidth = 899
77
Color = clBtnFace
88
Font.Charset = DEFAULT_CHARSET
99
Font.Color = clWindowText
@@ -19,7 +19,7 @@ object MainForm: TMainForm
1919
object ClientPanel: TPanel
2020
Left = 0
2121
Top = 0
22-
Width = 853
22+
Width = 899
2323
Height = 571
2424
Align = alClient
2525
BevelOuter = bvNone
@@ -81,12 +81,12 @@ object MainForm: TMainForm
8181
object CenterPanel: TPanel
8282
Left = 197
8383
Top = 0
84-
Width = 656
84+
Width = 702
8585
Height = 571
8686
Align = alClient
8787
TabOrder = 1
8888
object RightSplitter: TSplitter
89-
Left = 508
89+
Left = 554
9090
Top = 47
9191
Width = 4
9292
Height = 504
@@ -99,7 +99,7 @@ object MainForm: TMainForm
9999
AlignWithMargins = True
100100
Left = 4
101101
Top = 50
102-
Width = 501
102+
Width = 547
103103
Height = 498
104104
ObjectTypes = [otFolders, otNonFolders]
105105
Root = 'rfDesktop'
@@ -116,7 +116,7 @@ object MainForm: TMainForm
116116
TabOrder = 0
117117
end
118118
object FileInfo: TPanel
119-
Left = 512
119+
Left = 558
120120
Top = 47
121121
Width = 143
122122
Height = 504
@@ -169,15 +169,15 @@ object MainForm: TMainForm
169169
object StatusBar: TStatusBar
170170
Left = 1
171171
Top = 551
172-
Width = 654
172+
Width = 700
173173
Height = 19
174174
Panels = <>
175175
SimplePanel = True
176176
end
177177
object TopPanel: TPanel
178178
Left = 1
179179
Top = 1
180-
Width = 654
180+
Width = 700
181181
Height = 46
182182
Align = alTop
183183
TabOrder = 3
@@ -218,17 +218,11 @@ object MainForm: TMainForm
218218
object ViewStyle: TRadioGroup
219219
Left = 145
220220
Top = 1
221-
Width = 508
221+
Width = 554
222222
Height = 44
223223
Align = alClient
224224
Caption = 'View Style'
225-
Columns = 4
226-
ItemIndex = 0
227-
Items.Strings = (
228-
'Icon'
229-
'List'
230-
'Report'
231-
'SmallIcon')
225+
Columns = 5
232226
TabOrder = 1
233227
OnClick = ViewStyleClick
234228
end

Demo/ShellControlsDemo/MainUnit.pas

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,24 @@ implementation
7272
Winapi.CommCtrl
7373
, Winapi.ShlObj
7474
, Vcl.Shell.Utils
75+
, System.TypInfo
7576
;
7677

7778
type
7879
TNTFolders = (rfCommonDesktopDirectory, rfCommonPrograms, rfCommonStartMenu, rfCommonStartup);
7980

8081
procedure TMainForm.FormCreate(Sender: TObject);
82+
var
83+
I: TViewStyle;
84+
LViewStyleName: string;
8185
begin
86+
for I := Low(TViewStyle) to High(TViewStyle) do
87+
begin
88+
LViewStyleName := GetEnumName(TypeInfo(TViewStyle), Ord(I));
89+
ViewStyle.Items.Add(LViewStyleName);
90+
end;
91+
ViewStyle.ItemIndex := 0;
92+
8293
Caption := Application.Title;
8394
ClearFileInfo;
8495
InitImageListIcons;
-292 KB
Binary file not shown.

Packages/XE6/dclshlctrls.dproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@
3030
<CfgParent>Base</CfgParent>
3131
<Base>true</Base>
3232
</PropertyGroup>
33-
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win32)'!=''">
34-
<Cfg_2_Win32>true</Cfg_2_Win32>
35-
<CfgParent>Cfg_2</CfgParent>
36-
<Cfg_2>true</Cfg_2>
37-
<Base>true</Base>
38-
</PropertyGroup>
3933
<PropertyGroup Condition="'$(Base)'!=''">
4034
<DCC_UNIT_PLATFORM>false</DCC_UNIT_PLATFORM>
4135
<DCC_SYMBOL_PLATFORM>false</DCC_SYMBOL_PLATFORM>

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Shell Controls Packages and Utils [![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)
22

3-
**Latest Version 1.1.1 - 08 Jun 2024**
3+
**Latest Version 1.1.2 - 22 Sep 2024**
44

55
** Packages, demo and Utility of Delphi ShellControl Components (missing by Embarcadero)
66

@@ -37,6 +37,9 @@ A simple demo that explain the use of those components is located under:
3737

3838
## Release Notes
3939

40+
22 Sep 2024: ver. 1.1.2
41+
- Fixed option list for ListView in Demo.
42+
4043
08 Jun 2024: ver. 1.1.1
4144
- Updated packages of ShellControls for Delphi 12.1
4245

ReadMe.htm

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131
</style>
3232
<h1>Shell Controls Packages and Utils <a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg" alt="License"/></a></h1>
33-
<p><strong>Latest Version 1.1.1 - 08 Jun 2024</strong></p>
33+
<p><strong>Latest Version 1.1.2 - 22 Sep 2024</strong></p>
3434
<p>** Packages, demo and Utility of Delphi ShellControl Components (missing by Embarcadero)</p>
3535
<p>Delphi version supported: XE6, XE8, XE10, D10.1, D10.2, D10.3, D10.4, D11, D12</p>
3636
<p>For other versions, please add a request in the <a href="https://github.com/EtheaDev/DelphiShellControlsPackages/issues">Issue section</a> of the project.</p>
@@ -57,6 +57,10 @@ <h2>Installation Notes</h2>
5757
<h3>Preview of the Demo included:</h3>
5858
<p><img src="./Images/ShellControlsDemoDesktop.jpg" alt="Shell Controls Demo"/></p>
5959
<h2>Release Notes</h2>
60+
<p>22 Sep 2024: ver. 1.1.2</p>
61+
<ul>
62+
<li>Fixed option list for ListView in Demo.</li>
63+
</ul>
6064
<p>08 Jun 2024: ver. 1.1.1</p>
6165
<ul>
6266
<li>Updated packages of ShellControls for Delphi 12.1</li>

0 commit comments

Comments
 (0)