title: Delphi xe3 Mainform hide
body: <p>I have been trying to start my application with hiden main form, but no luck. It 
  compiles and everything, but when I run it I get runtime error. When I use timer and set it to 1 millisecond and then call <code>Application.MainForm.Hide</code> it hides but it flashes i dont want that to happen</p>
  
  <pre><code>program Project1;
  uses
    FMX.Forms,
    Unit1 in 'Unit1.pas' {Form1};
  
  {$R *.res}
  
  begin
    Application.Initialize;
    Application.CreateForm(TForm1, Form1);
    Application.MainForm.Visible := false;
    Form1.Visible:=false;
    Application.Run;
  end.
  </code></pre>