Problem with resizing child forms.

1qaz2wsx7

Member
Joined
Aug 16, 2007
Messages
17
Programming Experience
Beginner
Hi :)

I have an MDI main form, and couple of child forms.
Before i make the child forms appear on the screen, I call a function which resize the forms so they will fit to the screen width/height, the problem is that when I call that function before showing the forms on the screen, it doesn't seems to work well, but when I call the same function when the forms are shown on the screen, its working just fine.

What is the problem? why I can't resize the forms correctly before presenting them?

Thanks.
 
Last edited by a moderator:
When you make a new instance of the child form and you're setting it's properties you should set the StartPosition to Manual
 
i would need to see the code for making the instance of the form and showing it, plus the code for the resizing stuff to be able to answer that
 
Back
Top