In the Delphi 10.1 Berlin IDE, with a VCL Form application project, in the Project Options dialog, I have these settings:
Now I want the formOptions Form to be created BEFORE the FormMain Form while keeping the FormMain Form as the Main Form. The reason is: The main form could load data in its FormCreate procedure (where formOptions still has not been created), but to process these data it needs the settings from the formOptions form.
But as soon as I drag the formOptions item to the top of the list, also the main form combobox above changes to formOptions!
So how can I make the formOptions Form to be created BEFORE the FormMain Form while keeping the FormMain Form as the Main Form?

DPRproject file? - user1580348nilasAOwnerbecause the main form has not yet been created:formOptions := TformOptions.Create(nil);. Is usingnilas owner a correct procedure and do I have to destroyformOptionsmanually at program end? - user1580348Applicationas the Owner. If you use anilOwner instead, you must manuallyFreethe Form. - Remy Lebeau