I have the application on Delphi with the following main form initialization:
Application.CreateForm(<class>, <variable>);
It shows the main form when the application starts.
How can I start Delphi application with the hidden main form (or on non-visual mode at all)?
OnCreate
event. The requirement is to setShowMainForm
beforeApplication.Run()
is called. – Regimen