Titlebar of MdiChild form in MdiParnet's Panel

  • Thread starter Thread starter Guest
  • Start date Start date
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()
 
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
 
Back
Top