D
DaveP
I've got a situation in a VB 2003 Windows application with an MDI form and a
child form. In certain situations, when the child is closed by the user, I
also want to close the MDI parent. Is there a way to close the MDI parent
with code in the child form?
In the MDI child form, I have tried:
me.MDIParent.Close
but that doesn't appear to work. Is that because of object references in
the parent that are still alive? Is this even possible?
Thanks!
child form. In certain situations, when the child is closed by the user, I
also want to close the MDI parent. Is there a way to close the MDI parent
with code in the child form?
In the MDI child form, I have tried:
me.MDIParent.Close
but that doesn't appear to work. Is that because of object references in
the parent that are still alive? Is this even possible?
Thanks!