Mdi Parent controls showing on Mdi Child forms

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!
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top