Is there a way to detect if there are any child windows loaded when an MDI form unloads?
Tom Cannaerts
[email protected]
The best way to escape a problem, is to solve it.
Printable View
Is there a way to detect if there are any child windows loaded when an MDI form unloads?
Tom Cannaerts
[email protected]
The best way to escape a problem, is to solve it.
Hi
There is a way to check that.
Place the code in the Unload event of ur MDI Form
For i = 0 To Forms.Count - 1
If Forms(i).MDIChild Then
Unload Forms(i)
End If
Next
Take Care Bye Bye