whats the property to change the size of a form during runtime?
Printable View
whats the property to change the size of a form during runtime?
In the form you can do Me.Height() = xxxx and Me.Width() = xxxx
thanks
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..
is there a way to put a scroll bar in the parent container?
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!
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.
Also pay attention to Dock and Anchor properties of the controls on the form.