Skip to content

Commit

Permalink
Set PopupMode=pmAuto in CreateCustomForm support function.
Browse files Browse the repository at this point in the history
Only really matters when a custom form displays another custom form.
  • Loading branch information
jordanrussell authored Jan 12, 2025
1 parent c21d344 commit fdf652b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Projects/Src/Setup.ScriptFunc.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
Inno Setup
Copyright (C) 1997-2024 Jordan Russell
Copyright (C) 1997-2025 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Expand Down Expand Up @@ -291,6 +291,7 @@ procedure ScriptFuncLibraryRegister_R(ScriptInterpreter: TPSExec);
begin
var NewSetupForm := TSetupForm.CreateNew(nil);
try
NewSetupForm.PopupMode := pmAuto;
NewSetupForm.AutoScroll := False;
NewSetupForm.BorderStyle := bsDialog;
NewSetupForm.InitializeFont;
Expand Down

0 comments on commit fdf652b

Please sign in to comment.