Is there a way to change the background color of the Inno Setup bottom panel to white color?
Thanks for your help!
That bottom panel that you described is actually the area of the Wizard form, and so you can just set the Color
property of the WizardForm
object itself:
[Code]
procedure InitializeWizard;
begin
WizardForm.Color := clWhite;
end;
There's yet one more thing worth mentioning; though the above code shows how to set that area color to a constant white as you asked, what you can see on your screenshot as white is actually a color given by the Windows theme, so that color must not always be white. So if your aim was to have the same color as the page you're currently on, then you should rather inherit the color from the parent pages:
[Code]
procedure CurPageChanged(CurPageID: Integer);
begin
case CurPageID of
wpWelcome: WizardForm.Color := WizardForm.WelcomePage.Color;
wpFinished: WizardForm.Color := WizardForm.FinishedPage.Color;
else
WizardForm.Color := WizardForm.InnerPage.Color;
end;
end;