I would like to write an app that has the following properties:

1)  A main form exists, one of which is spawned at program start;
2)  Additional copies of the main form may be spawned;
3)  The program exits only when no copies of the main form are in existence.

I've tried a few things when spawning additional forms, such as form.Create, but when I close the *first* form spawned, *all* such forms are destroyed. I also tried Application.CreateForm, but that doesn't seem to do anything. Google has failed me, as well.

What's my best option for this?

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to