Results 1 to 8 of 8

Thread: form sizing

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    form sizing

    whats the property to change the size of a form during runtime?

  2. #2
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    In the form you can do Me.Height() = xxxx and Me.Width() = xxxx

  3. #3

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    thanks

  4. #4

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    well, the problem I'm having is that I'm losing the bottom portion of my form. It's a child form in a MDI. When I go to size it using the mouse cursor, it sizes from the bottom up, so I still the bottom half...is there a way around this or a way to size the entire form to make it smaller..

  5. #5

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    is there a way to put a scroll bar in the parent container?

  6. #6
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    Not sure if I understand you correctly, but:

    If your child MDI form is resized, and controls go out of scope, then you can add a scroll bar, (I think there is an AutoScroll property). There might also be a OnResize event that is raised, so you might want to check into that as well.

    Hope this helps!

  7. #7
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    Also,

    That is the point of MDI - that the child is contained within the parent. Moving the child form so that it is out of scope of the parent with just show the section of the child form that is still within the scope of the parent.

  8. #8
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Also pay attention to Dock and Anchor properties of the controls on the form.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

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