Forms Designer - Anchoring the controls on a form
To make sure that controls on a form remain in a tidy position if the form is resized you can set the controls anchor points. Once the controls have been placed on the form, select the Edit Menu - Anchor Controls option or the Anchor Controls Tool bar option . Once selected, the anchor points for the control are shown as white blocks on each side of the control. To set an anchor point simply click on the blocks and the block will change color.
To be able to resize a form at runtime you must set the forms Resize property to TRUE in the forms designer. For an example program showing anchored controls click here.
The following examples show the effects of setting different combinations of anchor points: