Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close a MDIForm when a child form is closed?

Status
Not open for further replies.

Fursten

Programmer
Dec 27, 2000
403
PT
Hi,

I have a MDIForm where I open some child forms. I want to close my MDIForm everytime I close the current child form...

Any ideas?

Thank you :)

 
in the Child form :

Dim Form As Form
For Each Form In Forms
Unload Form
Set Form = Nothing
Next Form

Eric De Decker
vbg.be@vbgroup.nl

Licence And Copy Protection AxtiveX
Source CodeBook for the programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top