Skip to content

Commit 2c5bb98

Browse files
version 3.8.4
- TStyledTaskDialog enhanced and fixed: - > Uses png with transparency for Icons - > Fixed Size of Message height - > Fixed MainIconSize - > Fixed "default" for Custom Button - > Fixed bottom panel without margins - > Fixed PopupParent form for Dialogs
1 parent 38f265d commit 2c5bb98

18 files changed

+1220
-17051
lines changed

Demos/Delphi12/StyledComponentsDemo.dproj

Lines changed: 1017 additions & 0 deletions
Large diffs are not rendered by default.

Demos/source/MainDemoForm.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ interface
4848
, Vcl.StyledButtonGroup
4949
, System.Actions
5050
, uSettings
51-
{$IFDEF SKIA}
51+
{$IFDEF SKIA2}
5252
, Skia.Vcl.StyledTaskDialogAnimatedUnit
5353
{$ELSE}
5454
, Vcl.StyledTaskDialogStdUnit

Demos/source/StyledDialogDemoForm.dfm

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ object fmStyledTaskDialog: TfmStyledTaskDialog
1717
Position = poScreenCenter
1818
ShowHint = True
1919
OnCreate = FormCreate
20-
OnDestroy = FormDestroy
2120
TextHeight = 13
2221
object ExtraGroupBox: TGroupBox
2322
Left = 0
@@ -31,25 +30,25 @@ object fmStyledTaskDialog: TfmStyledTaskDialog
3130
727
3231
230)
3332
object ExpandedTextLabel: TLabel
34-
Left = 33
33+
Left = 34
3534
Top = 43
36-
Width = 77
35+
Width = 76
3736
Height = 13
3837
Alignment = taRightJustify
3938
Caption = 'Expanded Text:'
4039
end
4140
object FooterTextLabel: TLabel
42-
Left = 50
41+
Left = 51
4342
Top = 105
44-
Width = 60
43+
Width = 59
4544
Height = 13
4645
Alignment = taRightJustify
4746
Caption = 'Footer Text:'
4847
end
4948
object VerificationTextLabel: TLabel
50-
Left = 26
49+
Left = 27
5150
Top = 167
52-
Width = 84
51+
Width = 83
5352
Height = 13
5453
Alignment = taRightJustify
5554
Caption = 'Verification Text:'
@@ -76,7 +75,7 @@ object fmStyledTaskDialog: TfmStyledTaskDialog
7675
end
7776
object btUseStyledDialogComp: TButton
7877
Left = 521
79-
Top = 160
78+
Top = 158
8079
Width = 195
8180
Height = 25
8281
Anchors = [akTop, akRight]
@@ -165,7 +164,7 @@ object fmStyledTaskDialog: TfmStyledTaskDialog
165164
object TitleLabel: TLabel
166165
Left = 7
167166
Top = 5
168-
Width = 25
167+
Width = 24
169168
Height = 13
170169
Caption = 'Title:'
171170
end
@@ -177,9 +176,9 @@ object fmStyledTaskDialog: TfmStyledTaskDialog
177176
Caption = 'Message:'
178177
end
179178
object DlgButtonTypeLabel: TLabel
180-
Left = 16
179+
Left = 15
181180
Top = 186
182-
Width = 89
181+
Width = 90
183182
Height = 13
184183
Alignment = taRightJustify
185184
Anchors = [akLeft, akBottom]
@@ -196,7 +195,7 @@ object fmStyledTaskDialog: TfmStyledTaskDialog
196195
object ButtonsWidthLabel: TLabel
197196
Left = 299
198197
Top = 7
199-
Width = 60
198+
Width = 61
200199
Height = 13
201200
Anchors = [akTop, akRight]
202201
Caption = 'Btns Width:'
@@ -426,9 +425,9 @@ object fmStyledTaskDialog: TfmStyledTaskDialog
426425
214
427426
341)
428427
object DefaultButtonLabel: TLabel
429-
Left = 5
428+
Left = 21
430429
Top = 316
431-
Width = 79
430+
Width = 80
432431
Height = 13
433432
Alignment = taRightJustify
434433
Anchors = [akLeft, akBottom]
@@ -448,13 +447,13 @@ object fmStyledTaskDialog: TfmStyledTaskDialog
448447
Width = 196
449448
Height = 195
450449
Anchors = [akLeft, akTop, akBottom]
451-
ItemHeight = 17
450+
ItemHeight = 13
452451
TabOrder = 1
453452
end
454453
object DefaultButtonComboBox: TComboBox
455-
Left = 90
454+
Left = 104
456455
Top = 313
457-
Width = 115
456+
Width = 101
458457
Height = 21
459458
Style = csDropDownList
460459
Anchors = [akLeft, akBottom]
@@ -534,7 +533,7 @@ object fmStyledTaskDialog: TfmStyledTaskDialog
534533
'license.rtf</A> Expanded Text Expanded Text Expanded Text Expand' +
535534
'ed Text Expanded Text Expanded Text Expanded Text Expanded Text ' +
536535
'Expanded Text Expanded Text Expanded Text '
537-
Flags = [tfAllowDialogCancellation, tfUseCommandLinks, tfExpandedByDefault, tfPositionRelativeToWindow]
536+
Flags = [tfAllowDialogCancellation, tfExpandedByDefault, tfPositionRelativeToWindow]
538537
FooterIcon = 1
539538
FooterText =
540539
'The file was created: <A HREF="C:\Windows\System32\license.rtf">' +

Demos/source/StyledDialogDemoForm.pas

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ TfmStyledTaskDialog = class(TForm)
8585
procedure FormCreate(Sender: TObject);
8686
procedure ShowDlg(Sender: TObject);
8787
procedure RaiseError(Sender: TObject);
88-
procedure FormDestroy(Sender: TObject);
8988
procedure TaskDialogTimer(Sender: TObject; TickCount: Cardinal;
9089
var Reset: Boolean);
9190
procedure UseStyleDialogCompClick(Sender: TObject);
@@ -293,20 +292,15 @@ procedure TfmStyledTaskDialog.ShowDlg(Sender: TObject);
293292
ShowSelection(LResult);
294293
end;
295294

296-
procedure TfmStyledTaskDialog.FormDestroy(Sender: TObject);
297-
begin
298-
;
299-
end;
300-
301295
procedure TfmStyledTaskDialog.Loaded;
302296
begin
303-
//Font.Assign(Screen.IconFont);
304-
//Screen.MessageFont.Assign(Font);
297+
//Fix Memo text loaded from .dfm
298+
FooterTextMemo.Text := TrimRight(FooterTextMemo.Text);
299+
ExpandedTextMemo.Text := TrimRight(ExpandedTextMemo.Text);
300+
VerificationTextMemo.Text := TrimRight(VerificationTextMemo.Text);
305301
inherited;
306302
end;
307303

308-
309-
310304
procedure TfmStyledTaskDialog.RaiseDatabaseError(Sender: TObject);
311305
begin
312306
DatabaseError('Database Error!'+sLineBreak+
@@ -426,7 +420,6 @@ procedure TfmStyledTaskDialog.UseStyleDialogCompClick(Sender: TObject);
426420
TMsgDlgBtn.mbNo: AddCommonButton(tcbNo);
427421
TMsgDlgBtn.mbOK: AddCommonButton(tcbOK);
428422
TMsgDlgBtn.mbCancel: AddCommonButton(tcbCancel);
429-
TMsgDlgBtn.mbRetry: AddCommonButton(tcbRetry);
430423
TMsgDlgBtn.mbClose: AddCommonButton(tcbClose);
431424
else
432425
//For other buttons add "Custom button"
@@ -437,6 +430,7 @@ procedure TfmStyledTaskDialog.UseStyleDialogCompClick(Sender: TObject);
437430
begin
438431
case db of
439432
TMsgDlgBtn.mbAbort: LCustomButton.CommandLinkHint := 'Abort operation and undo all changes...';
433+
TMsgDlgBtn.mbRetry: LCustomButton.CommandLinkHint := 'Retry the operation...';
440434
TMsgDlgBtn.mbIgnore: LCustomButton.CommandLinkHint := 'Ignore operation and continue...';
441435
TMsgDlgBtn.mbAll: LCustomButton.CommandLinkHint := 'Include all items in operation...';
442436
TMsgDlgBtn.mbNoToAll: LCustomButton.CommandLinkHint := 'Discard operation to all items...';

README.htm

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</style>
3232
<h1>Delphi VCL StyledComponents <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>
3333
<h2>Components similar to Delphi VCL Buttons, Toolbar, DbNavigator, BindNavigator, ButtonGroup and CategoryButtons with Custom Graphic Styles, and an advanced, full-customizable TaskDialog, also with animations!</h2>
34-
<h3>Actual official version: 3.8.3</h3>
34+
<h3>Actual official version: 3.8.4</h3>
3535
<hr />
3636
<h2>New Setup for Installation of Components</h2>
3737
<p>From 3.8.1 version a new &ldquo;Installer&rdquo; read-to-use is located in the Release area: <a href="https://github.com/EtheaDev/StyledComponents/releases/latest/download/StyledComponents_Setup.exe">Download the Installer</a>.</p>
@@ -344,6 +344,28 @@ <h3>Available from Delphi XE6 to Delphi 13 (32bit and 64bit platforms)</h3>
344344
<p><img src="./Images/SupportingDelphi.jpg" alt="Delphi Support"/></p>
345345
<p>Related links: <a href="https://www.embarcadero.com">embarcadero.com</a> - <a href="https://learndelphi.org">learndelphi.org</a></p>
346346
<h3>RELEASE NOTES</h3>
347+
<p>26 Aug 2025 - version 3.8.4</p>
348+
<ul>
349+
<li>TStyledTaskDialog enhanced and fixed:</li>
350+
<li><blockquote><p>Uses png with transparency for Icons</p>
351+
</blockquote>
352+
</li>
353+
<li><blockquote><p>Fixed Size of Message height</p>
354+
</blockquote>
355+
</li>
356+
<li><blockquote><p>Fixed MainIconSize</p>
357+
</blockquote>
358+
</li>
359+
<li><blockquote><p>Fixed &ldquo;default&rdquo; for Custom Button</p>
360+
</blockquote>
361+
</li>
362+
<li><blockquote><p>Fixed bottom panel without margins</p>
363+
</blockquote>
364+
</li>
365+
<li><blockquote><p>Fixed PopupParent form for Dialogs</p>
366+
</blockquote>
367+
</li>
368+
</ul>
347369
<p>23 Aug 2025 - version 3.8.3</p>
348370
<ul>
349371
<li>TStyledTaskDialog enhanced and fixed:</li>

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Components similar to Delphi VCL Buttons, Toolbar, DbNavigator, BindNavigator, ButtonGroup and CategoryButtons with Custom Graphic Styles, and an advanced, full-customizable TaskDialog, also with animations!
44

5-
### Actual official version: 3.8.3
5+
### Actual official version: 3.8.4
66

77
---
88
## New Setup for Installation of Components
@@ -396,6 +396,15 @@ If you are have Skia4Delphi installed, you can also try the AnimatedTaskDialogDe
396396
Related links: [embarcadero.com](https://www.embarcadero.com) - [learndelphi.org](https://learndelphi.org)
397397

398398
### RELEASE NOTES
399+
26 Aug 2025 - version 3.8.4
400+
- TStyledTaskDialog enhanced and fixed:
401+
- > Uses png with transparency for Icons
402+
- > Fixed Size of Message height
403+
- > Fixed MainIconSize
404+
- > Fixed "default" for Custom Button
405+
- > Fixed bottom panel without margins
406+
- > Fixed PopupParent form for Dialogs
407+
399408
23 Aug 2025 - version 3.8.3
400409
- TStyledTaskDialog enhanced and fixed:
401410
- > "Flags" property default same as TTaskDialog

packages/D12/StyledComponents.dproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<ProjectGuid>{F870FD7C-4984-4784-8B29-4CDB55E64524}</ProjectGuid>
44
<MainSource>StyledComponents.dpk</MainSource>
5-
<ProjectVersion>20.2</ProjectVersion>
5+
<ProjectVersion>20.3</ProjectVersion>
66
<FrameworkType>VCL</FrameworkType>
77
<Base>True</Base>
88
<Config Condition="'$(Config)'==''">Release</Config>

packages/D12/dclStyledComponents.dproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<ProjectGuid>{03F938E4-4CBD-4FD4-86A2-084115D91AA9}</ProjectGuid>
44
<MainSource>dclStyledComponents.dpk</MainSource>
5-
<ProjectVersion>20.2</ProjectVersion>
5+
<ProjectVersion>20.3</ProjectVersion>
66
<FrameworkType>VCL</FrameworkType>
77
<Base>True</Base>
88
<Config Condition="'$(Config)'==''">Release</Config>

source/Animations.RES

140 Bytes
Binary file not shown.

source/Animations.rc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
LOTTIE_INFORMATION RCDATA "..\Animations\information.json"
2-
LOTTIE_CUSTOM RCDATA "..\Animations\custom.json"
3-
LOTTIE_ERROR RCDATA "..\Animations\error.json"
4-
LOTTIE_WARNING RCDATA "..\Animations\warning.json"
5-
LOTTIE_SHIELD RCDATA "..\Animations\shield.json"
6-
LOTTIE_NOTIFY RCDATA "..\Animations\notify.json"
7-
LOTTIE_QUESTION RCDATA "..\Animations\question.json"
1+
STYLEDTASKLOTTIE_INFORMATION RCDATA "..\Animations\information.json"
2+
STYLEDTASKLOTTIE_CUSTOM RCDATA "..\Animations\custom.json"
3+
STYLEDTASKLOTTIE_ERROR RCDATA "..\Animations\error.json"
4+
STYLEDTASKLOTTIE_WARNING RCDATA "..\Animations\warning.json"
5+
STYLEDTASKLOTTIE_SHIELD RCDATA "..\Animations\shield.json"
6+
STYLEDTASKLOTTIE_NOTIFY RCDATA "..\Animations\notify.json"
7+
STYLEDTASKLOTTIE_QUESTION RCDATA "..\Animations\question.json"

0 commit comments

Comments
 (0)