|
-
Jan 17th, 2007, 04:03 PM
#1
Thread Starter
PowerPoster
Maximizing a MDI Parent Form???
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,
-
Jan 17th, 2007, 04:05 PM
#2
Re: Maximizing a MDI Parent Form???
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
VB Code:
Me.WindowState = FormWindowState.Maximized
From an MDI Child form
VB Code:
Me.MdiParent.WindowState = FormWindowState.Maximized
-
Jan 17th, 2007, 04:48 PM
#3
Thread Starter
PowerPoster
Re: Maximizing a MDI Parent Form???
Kleinma,
That's what I was lookin' for.
thanks!!!
-
Jan 17th, 2007, 04:55 PM
#4
Re: Maximizing a MDI Parent Form???
no problem. Please mark this thread resolved using the thread tools menu above.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|