>Using VB6.
>
>I have a MDI form that contains other forms. These other forms have their MDICHILD = TRUE property set.
>
>The problem I am having is that when I am in design mode, and I resize a child form, then run the application, the child form re-displays in it's original size, not the new size.
>
>What am I missing here? If the form is not a MIDCHILD, then the resizing of form in design mode and running the form always show the form in it's new size, as expected.
>
>What setting am I missing?
MDI...
In the Form_Load event of child form, I use to write lines something like these:
me.WindowState = vbNormal
me.Move 0, 0, mdiMain.ScaleWidth, mdiMain.ScaleHeight
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com