Results 1 to 2 of 2

Thread: Form Sizes under MDI

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    England
    Posts
    2

    Form Sizes under MDI

    A very simple question I suspect.

    I create a form, and size it and use show to display it. If it is the child of an MDI parent my design time size settings do not apply and all forms appear the same size.

    Can anyone help?

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    That's the way MDI child forms work. If you want to stop it happening then set the child form's BorderStyle = FixedSingle. You should also set MinButton = True, MaxButton = False

    However, the 'correct' way to approach this (even though it's a lot more hassle) is to put code in the form's Resize event to control the positioning of the controls based on the size of the child form.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

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