B
Brian P. Hammer
I have a child form that opens within the MDIParent. From this child form (frmEntry), I open another child form(frmAircraftEntry). I do this by
Dim AircraftEntry As New frmAircraftEntry()
AircraftEntry.MdiParent = Me.MdiParent
AircraftEntry.Show()
Me.Close() ' close frmEntry
What I notice is that if I minimize the newly created form AircraftEntry, there is still an instance of frmEntry running even though I closed it. I am guessing it is from the call of = Me.MdiParent. If I move the me.close to the top of the sub, it closes the form as expected but then AircraftEntry does not open as a child. What am I doing wrong, or is there another way to determine the MDI parent?
Dim AircraftEntry As New frmAircraftEntry()
AircraftEntry.MdiParent = Me.MdiParent
AircraftEntry.Show()
Me.Close() ' close frmEntry
What I notice is that if I minimize the newly created form AircraftEntry, there is still an instance of frmEntry running even though I closed it. I am guessing it is from the call of = Me.MdiParent. If I move the me.close to the top of the sub, it closes the form as expected but then AircraftEntry does not open as a child. What am I doing wrong, or is there another way to determine the MDI parent?