Hannes Schmid
Hannes Schmid

Reputation: 389

Change font and font size on wizard page information text box in Inno Setup

I need to change the font and probably the font size on the wizard page "Information" for the text box where the text is displayed specified via the parameter InfoBeforeFile in section [Languages]. The reason for changing the font is that the file content displayed in the text box is produced using a monospaced font like Courier New.

In the Inno Setup Help I looked through Support Classes References to find an answer but I was unsuccessful.

Thanks for any help!

Upvotes: 6

Views: 314

Answers (1)

Martin Prikryl
Martin Prikryl

Reputation: 202292

Set the Font property of WizardForm.InfoBeforeMemo.

[Code]

procedure InitializeWizard();
begin
  WizardForm.InfoBeforeMemo.Font.Name := 'Courier New';
end;

enter image description here

Upvotes: 6

Related Questions