First let the reader knows that you don't need to automatically create your main form Ctrl Shift F11.
Then add the following code in Project1 (Application)!
FORM1: = TFORM1.CREATE (NIL);
Form1.ShowModal;