Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear
I have a windows form, that was set to a fixed width and height...

Now i am aske to resize the form to fit full screen, that's fine but

How to resize also every control in the form with the same scaler ....

Thanks in advance
Posted

1 solution

I seem to remember this being asked already, your lucky I can't see the history of your questions yet.

Look into the 'anchor' and 'dock' properties of your controls.

When you set these correctly, the controls will resize or move (depending on the settings of these property's) when the form resizes.

To get the hang of these properties just play around with them a bit and see what happens.
You can do that in the designer. Set the properties then resize your form and the controls will move/resize them self.
 
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