Minimize main form while non main forms remain visible
Posted on 2005-04-08
I have the following problem.
My program has two forms, Form1 (main form) and Form2 (template form). On Form1 I have a button that assigns to a TForm2 type of variable, named MyForm, the template form using the code below:
I then assign the MyForm variable to a dynamic array of TForm2 type for later access. This works just fine. I click the button and I have a new "instance" of MyForm. Each form can from now on have it's own different settings. The problem is that when I minimize Form1 all Form2s that I've just created, minimize as well. What must I do to have them still visible and usable while Form1 is minimized? If a solution is found will it still work if I minimize Form1 to the windows tray?
Thank you in advance.