MDIChild Maximum size

jacky.goy

Active member
Joined
Sep 19, 2006
Messages
38
Programming Experience
1-3
I've a MDIParent with MDIChild form loaded with default size. When I click the maximize button on the MDIChild, the form some sort like over maximizing (sorry with my funny terms, i really don't know how to call it...
BigGrin.gif
).

I wish to have the MDIChild form maximized within the MDIParent (i meant not over the toolstrip)
Please refer to the attached pictures..

This is the default form load.
defaultyv8.jpg


This is problem i encountered.
wronghk6.jpg


This is what i want.
correctpq4.jpg


Can anyone please help me on this ?? Thanks in advance...
Smile.gif
 
Sorry about my previous posting. I just learn up the markup codec and so here it is

VB.NET:
Sub NewToolStripMenuItemClick(ByVal sender As Object, ByVal e As EventArgs)
	dim fNew As New frmform2
	fnew.MdiParent = me   [ THIS LINE IS THE ONE ]
	fNew.Show   [ DO NOT USE SHOWDIALOG ]
End Sub
 
Back
Top