Hi,
Sorry there is no built in function for that. Here is an article on
how to create a forms collection
http://msdn.microsoft.com/library/de...et05132003.asp
Ken
-----------------------
"Volker Jobst" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I'm writing an application which should be able to close all open forms
> except the main one. Thisfore I'm collecting all forms in an arraylist
> before I show them, but I don't want to do that because that's a lot of
work
> and I'm not allowed to miss one call.
>
> So, my question is: Is there something like a "container" or list which
> contains all controls I can step through and find out all open forms?
>
> thanks,
> volker jobst
>
>