Axs
Axs

Reputation: 805

How to remove the bottom panel in install page in inno setup

Please find the attached image where i am not able to remove the bottom bar. please help me in this regard. i want to put some text on the bottom bar area after removal. i want to remove the bar only in install page.

Upvotes: 1

Views: 586

Answers (1)

TLama
TLama

Reputation: 76693

Ideal place for tracking page changing is the CurPageChanged event method, in which you need to set the Visible property of the Bevel control depending on the page ID passed to the event method by the CurPageID parameter. To fit your requirement you'll need to show the bevel only if you are not on the installing page represented by the wpInstalling constant:

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

[Code]
procedure CurPageChanged(CurPageID: Integer);
begin
  WizardForm.Bevel.Visible := CurPageID <> wpInstalling;
end;

Upvotes: 2

Related Questions