Variable to check if any active Children forms?

Troy

Well-known member
Joined
Feb 7, 2005
Messages
153
Programming Experience
10+
Is there someway to check for any active children forms?

I want to be able to create an if statement similar to this

if not MDIChildForm then
ETC.....

MDICildForm is just a for instance for the Variable.

I need to know if there are and active children for a logic statement.
 
See the Form properties, top of the list is ActiveMdiChild, is Nothing if there ain't any.
 
:D Thanks John you always seem to come through.
 
Yes, its a reference to the active mdi child form.
 
Back
Top