I am writing my first program in VB.Net. I am having difficulty trying to find out how to maximize a MDI Parent form.
Please Help!!!!
Thanks,
Printable View
I am writing my first program in VB.Net. I am having difficulty trying to find out how to maximize a MDI Parent form.
Please Help!!!!
Thanks,
maximize it from where?
you could click the maximize button in the upper right, but I image that isn't exactly what you mean right?
If you want to do it via code, then it depends on where the code is running from.
If you want to maximize the MDI Parent from code in the parent itself, its simply
From an MDI Child formVB Code:
Me.WindowState = FormWindowState.Maximized
VB Code:
Me.MdiParent.WindowState = FormWindowState.Maximized
Kleinma,
That's what I was lookin' for.
thanks!!!
no problem. Please mark this thread resolved using the thread tools menu above.