Titlebar of MdiChild form in MdiParnet's Panel

G

Guest

I've put a MdiChild form into the Panel of MdiParent form.
But the titlebar of MdiChild is still Grey in color even I focus or activate
it.

Here is my code:

Dim frmNew As frmChild = New frmChild 'frmChild is the child form
frmNew.MdiParent = Me 'Me is the parent form
frmNew.Parent = Me.Panel1
frmNew.Show()
 
A

Armin Zingler

VB Newbie said:
I've put a MdiChild form into the Panel of MdiParent form.
But the titlebar of MdiChild is still Grey in color even I focus or
activate it.

Here is my code:

Dim frmNew As frmChild = New frmChild 'frmChild is the child form
frmNew.MdiParent = Me 'Me is the parent form
frmNew.Parent = Me.Panel1
frmNew.Show()


You must not put the child into the panel.


Armin
 

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