|
@@ -44,7 +44,7 @@ type
|
|
|
{ Public declarations }
|
|
|
constructor Create(AOwner: TComponent); override;
|
|
|
destructor Destroy; override;
|
|
|
- procedure Initialize(const ATitle, AAppName: String);
|
|
|
+ procedure Initialize(const ATitle, AAppName: String; const AModernStyle: Boolean);
|
|
|
procedure UpdateProgress(const AProgress, ARange: Integer);
|
|
|
end;
|
|
|
|
|
@@ -118,11 +118,16 @@ begin
|
|
|
inherited;
|
|
|
end;
|
|
|
|
|
|
-procedure TUninstallProgressForm.Initialize(const ATitle, AAppName: String);
|
|
|
+procedure TUninstallProgressForm.Initialize(const ATitle, AAppName: String; const AModernStyle: Boolean);
|
|
|
begin
|
|
|
Caption := ATitle;
|
|
|
PageDescriptionLabel.Caption := FmtSetupMessage1(msgUninstallStatusLabel, AAppName);
|
|
|
StatusLabel.Caption := FmtSetupMessage1(msgStatusUninstalling, AAppName);
|
|
|
+
|
|
|
+ if AModernStyle then begin
|
|
|
+ OuterNotebook.Color := clWindow;
|
|
|
+ Bevel1.Visible := False;
|
|
|
+ end;
|
|
|
end;
|
|
|
|
|
|
procedure TUninstallProgressForm.CreateParams(var Params: TCreateParams);
|