VB Code:
Dim frm As Form For Each frm In Me.Parent.FindForm.MdiChildren frm.Close() Next
This code is written on a mdichild and when i run it, the parent/mdi container also closes. But when i change the frm.close() to frm.windowstate = minimized, the mdichild minimizes, no problems whatsoever...
how do i go about this?
Basically I'm in an mdichild, and i need to kill the mdichild without killing the parent. (I sound like a murdererLOL)




LOL)
Reply With Quote