Răsfoiți Sursa

Set PopupMode=pmAuto in CreateCustomForm support function.

Only really matters when a custom form displays another custom form.

Jordan Russell 8 luni în urmă
părinte
comite
fdf652b434
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      Projects/Src/Setup.ScriptFunc.pas

+ 2 - 1
Projects/Src/Setup.ScriptFunc.pas

@@ -2,7 +2,7 @@ unit Setup.ScriptFunc;
 
 {
   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.
 
@@ -291,6 +291,7 @@ var
     begin
       var NewSetupForm := TSetupForm.CreateNew(nil);
       try
+        NewSetupForm.PopupMode := pmAuto;
         NewSetupForm.AutoScroll := False;
         NewSetupForm.BorderStyle := bsDialog;
         NewSetupForm.InitializeFont;