Mdi Parent controls showing on Mdi Child forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

In my Mdi application, I have placed a set of controls on the parent form to
call child forms. The problem is that the controls hide the child forms. I
have used SendToBack when Im calling the child form, that works fine.

The problem arrises when I want to show those controls again when I close
the child form. Im sure BringToFront will work but im not sure how to do this
from the child form.

Please help!
 
Thanks.

I found that it's much easier to use another form as a program menu instead
of using the Mdi Parent form for this. For each of the new forms that Is
created from another child form, I assigned the new child form to the active
Mdi Parent form.

Used:


Private Sub,,,,

Dim Menu as new frmMenu

Menu.MdiParent = frmMain.activeform 'frmMain is the main parent form.
me.close()
Menu.show()

End Sub

Thanks for your imput.
Brindley
 
Back
Top