Click here to Skip to main content
15,939,960 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
I have a form that is MDI Parent for others.
I want to have an MDI Child that I can resize according to a number of questions I will display on it...
Now it's 825 X 788. Whenever I try to put a value higher than 788, it doesn't allow me and resets itself to 788
I tried to set the height when I create the child form, but no success

Here are my settings:
AutoScaleMode= None
AutoSize= False
AUtoSizeMode= Grow Only

Can you, please help?
Thank you...

1 solution

This is a limitation of the windows forms designer. It will not let you select a resolution higher than the screen you are working on (actually I think it allows something like your resolution + 20px, so I assume your resolution is 1024 or 1280 by 768). The only real way around this is to set the size in the constructor and place a panel on your form that is the size you want, that way you can scroll around to place the objects correctly. Or you can try to develop a form that doesn't need that much space...
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900