By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,669 Members | 3,082 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,669 IT Pros & Developers. It's quick & easy.

Mdi Parent controls showing on Mdi Child forms

P: n/a
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!

Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Brindley,

For the MDI parent it is nicer to use beside the menu's the buttonbar, and
that than as can do as with other controls dock them to the top. The button
bar (toolbar) does that automaticly because it is in it.

http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps?

Cor
"Brindley" <Br******@discussions.microsoft.com>
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!

Jul 21 '05 #2

P: n/a
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

"Cor Ligthert" wrote:
Brindley,

For the MDI parent it is nicer to use beside the menu's the buttonbar, and
that than as can do as with other controls dock them to the top. The button
bar (toolbar) does that automaticly because it is in it.

http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps?

Cor
"Brindley" <Br******@discussions.microsoft.com>
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!


Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.