Mega Code Archive

 
Categories / Delphi / Forms
 

Hide the main form at startup

Title: hide the main form at startup? { Use the ShowMainForm property to control whether the application shows its main form on startup. } { Mit der Eigenschaft ShowMainForm können Sie bestimmen, ob beim Start der Anwendung das Hauptformular angezeigt wird. } program Project1; uses Forms, Unit1 in 'Unit1.pas'; {Form1} {$R *.RES} begin Application.Initialize; Application.CreateForm(TForm1, Form1); // Add this Line to your project's file (*.dpr) // Diese Zeile hinzufügen in der Projekte Datei (*.dpr) hinzufügen. Application.ShowMainForm := False; Application.Run; end.