Results 1 to 4 of 4

Thread: Maximizing a MDI Parent Form???

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    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,
    Blake

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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:
    1. Me.WindowState = FormWindowState.Maximized
    From an MDI Child form
    VB Code:
    1. Me.MdiParent.WindowState = FormWindowState.Maximized

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Re: Maximizing a MDI Parent Form???

    Kleinma,

    That's what I was lookin' for.

    thanks!!!
    Blake

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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
  •  



Click Here to Expand Forum to Full Width