Results 1 to 7 of 7

Thread: A simple question about MDI CHILD size

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2013
    Location
    Brazil
    Posts
    28

    Question A simple question about MDI CHILD size

    Hi guys!

    i've a problem with mi MDI child forms...

    My MDI form have a picture box inside them, on the right side of the window.

    for example...

    Name:  exemplo.jpg
Views: 877
Size:  19.3 KB

    can u see the picture box with listview on the right side of the window? :P

    my problem is about open child forms in fullscreen, without be hidding by picture box.

    Any idea?


  2. #2
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: A simple question about MDI CHILD size

    Quote Originally Posted by Rumblefish View Post
    my problem is about open child forms in fullscreen, without be hidding by picture box.
    A screenshot of the actual problem would have been a lot better.
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  3. #3
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,622

    Re: A simple question about MDI CHILD size

    Agree w/Bonnie....your example picture doesn't tell us much. I am assuming you have a picturebox on your MDI form, and you have it aligned right. Yet, for some reason you can't see the listview within your PB. Your snapshot shows an image in a Normalized MDI, not Maximized one. If your width property is not set sufficiently to see the entire picturebox (with listview image?????), then you will see just a portion of your picturebox, cutting off the right-hand side. Not really sure if that is what is happening in your example or not, but if you can't see the entire picturebox at design time (with it aligned right), then you are not going to see it in Normal view NOR Maximized view. Just make sure the PB width is sufficient in design to see the entire PB.

  4. #4
    Lively Member kivisoft@'s Avatar
    Join Date
    Jul 2011
    Location
    Iran
    Posts
    96

    Re: A simple question about MDI CHILD size

    He's problem is that the Childforms that open in FullScreen, go under the picture box and picture box comes on top of them.

    Sorry! that is just how picturebox works on MDIForms.
    Code is the Void

  5. #5
    gibra
    Guest

    Re: A simple question about MDI CHILD size

    Quote Originally Posted by Rumblefish View Post

    my problem is about open child forms in fullscreen, without be hidding by picture box.
    On a MDI interface you can't, sorry.

  6. #6
    Hyperactive Member
    Join Date
    Oct 2010
    Posts
    377

    Re: A simple question about MDI CHILD size

    maybe the right term is not to fullscreen. maybe you can use of the resize method of your child form less the size of the size of the picture box that you have.

  7. #7
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,622

    Re: A simple question about MDI CHILD size

    I'm still not getting it. Is the Picturebox on the MDI form, or a child? If you place a PB on the MDIform (say right aligned), and want to see everything on a maximized child form (e.g. - not hidden by the MDI's PB), then open the MDI form in Maximized as well. In testing, I see everything on my maximized chiild form when the MDI form is maximized as well.

Tags for this Thread

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