
TABLE 22
SUBMENU COMMANDS
Align Aligns groups of controls on their lefts, middles, rights, tops, bottoms, and
centers.
Make Same Size Makes controls have the same width, height, or both.
Horizontal Spacing Adjusts the horizontal spacing between controls. It can make the space
between controls equal, smaller, larger, or zero.
Vertical Spacing Works like the Horizontal Spacing submenu except it adjusts the vertical
spacing between controls.
Center in Form Centers the controls vertically or horizontally in their container. If the controls
are inside a container like a
Panel or GroupBox, these commands center
the controls within the container, not the form.
Order These commands send a control to the front or back of the stacking order.
This is useful if you have controls that overlap so some are behind others.
The Layout toolbar contains the same commands as the Format menu but in a handy toolbar so
they’re easier to use. The buttons display little pictures that show how they align controls.
How these tools arrange controls depends on how you select the controls.
One of the selected controls, normally the first one you select, is the group’s
dominant control. The dominant control is marked with white boxes while the
other controls are marked with black boxes.
When you use an arranging tool, the dominant control determines how the oth-
ers are arranged. For example, if you selec ...