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-Parent inside MDI-Child forms with full screen?

Status
Not open for further replies.

Mahey

Programmer
Dec 24, 2008
52
0
0
SA
Iam looking to display the mdi-child form [form1]
with full screen as per mdi-parent [form-2]'s size.

How to display it?

Thanks
 
Is this what you are looking for?

ChildForm.WindowState = FormWindowState.Maximized

The code above will make the child form fill the entire region within the MDI parent.
 
I have some clarifications please

form1.windowstate=maximized
form1.text="FORM-1 TEXT"

and in mdi-parent as form-2

form2.windowstate=maximized
form2.text="FORM-2 TEXT"

My Problem is when I click on ToolStripMenuItem it's displaying like the following

1-line "Form-1 Text"
2-line "Icon & Maximize & Minimize & Control Box buttons"
3-line "Toolstrip-1"
4-line "Tollstrip-2"

How to avoid this 2nd line?

Thanks Again

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top