Mega Code Archive

 
Categories / Delphi / Forms
 

How to hide the main form at startup

Title: How to hide the main form at startup 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) Application.ShowMainForm := False; Application.Run; end.