Making Form Re-Sizable

AutoScroll

Set to true, to enable scroll bars when needed.
You can then just add controls outside of the forms size and the scroll bars will appear to allow then to be seen.

Minimum Size

Set the minimum size for the form

Padding

Set to force a bit of space after the last object on the form

Getting controls on a form to resize automatically when user changes for size

The flow layout panel is very useful

Dock

The Dock property of a control allows you to specify which borders of the control are bound to the container (which may be the form itself if the cotnrol is not inside some form of container).

Anchor

The Anchor property of a control defines the edges of the control that are bound to its container. E.g. set to bottom and right for a control to be glued to the bottom right corner of a form as its re-sized.

USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.

Comments

Your email address will not be published. Required fields are marked *