Mar 1, 2009 #1 Mahey Programmer Dec 24, 2008 52 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
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
Mar 1, 2009 #2 RiverGuy Programmer Jul 18, 2002 5,011 US 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. Upvote 0 Downvote
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.
Mar 1, 2009 Thread starter #3 Mahey Programmer Dec 24, 2008 52 SA 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 Upvote 0 Downvote
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