Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InnoSetup: How to remove horizontal lines from wizard pages

Tags:

inno-setup

Is there a way to remove or hide the horizontal line controls from Innosetup wizard pages by code to give it a little more modern touch?

See example here:

enter image description here

Thank you!

like image 896
Emsi Avatar asked Nov 13 '13 11:11

Emsi


1 Answers

The upper horizontal line highlighted in your screenshot is the WizardForm.Bevel1 component, whilst the bottom one is the WizardForm.Bevel component. To hide both, you can write a script like this:

[Setup]
AppName=My Program
AppVersion=1.5
DefaultDirName={pf}\My Program

[Code]
procedure InitializeWizard;
begin
  WizardForm.Bevel.Visible := False;
  WizardForm.Bevel1.Visible := False;
end;
like image 90
TLama Avatar answered Nov 10 '22 21:11

TLama