Resizing a form and preserving the placement of controls within it...

perps

Member
Joined
Sep 8, 2005
Messages
14
Programming Experience
Beginner
Greetings,

I have created a simple paint application somewhat similar to MSPaint, and I was wondering how to go about handling the resizing of the form. How do you preserve the positioning of controls within a form, and the size of controls in ratio to the form itself??

My application has a panel at the bottom of the form that contains drawing controls, with the rest of the form being a large picture box that is used as a canvas to draw on. Currently, when i resize/maximise etc the picture box canvas does not stretch and the control panel at the bottom does not sit at the bottom of the form. How could i fix this so everything resizes correctly??

Thanks in advance,

- perps.
 
Back
Top