I want to ask the user to close all opened forms before terminate my application.
How can I automatically get a list from opened forms?
I'm using Delphi 2006, and don't using form's Auto-Create, but I'm using the auto created form's referenced var
with Application.CreateForm
.
My regards.
Have a look at Screen.FormCount
and Screen.Forms
.