Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MDI child form

Status
Not open for further replies.

Hira

Programmer
Nov 12, 2002
9
0
0
JP
Hi all !

I want to know how I can fill client area of the
parent form with child form.
I wrote following code in the load event handller of parent form.

With frmChild
.MdiParent = Me
.FormBorderStyle = FormBorderStyle.None
.Top = 0
.Left = 0
.Width = Me.ClientSize.Width
.Height = Me.ClientSize.Height
.Show()
End With

But there is blank space between the child form and Parent form's frame.

Thanks

 
f.WindowState = FormWindowState.Maximized


Sweep
...if it works dont mess with it
 
Dear SqueakinSweep

Thank you for your advice.

hira
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top