Datasheet
Figure 1-37: The Format menu contains commands for formatting and arranging controls on a form.
❑ Align — This submenu contains commands that align the controls you have selected in various
ways. It contains the commands Lefts, Centers, Rights, Tops, Middles, Bottoms, and “to Grid.”
For example, the Lefts command aligns the controls so their left edges line up nicely. The “to
Grid” command snaps the controls to the nearest grid position. This is useful if you have moved
some controls off of the alignment grid, possibly by using one of the other Align commands or
by changing a control’s Location property in the Properties window.
❑ Make Same Size — This submenu contains commands that change the size of the controls you
have selected. It contains the commands Width, Height, Both, and “Size to Grid.” The “Size to
Grid” command adjusts the selected controls’ widths so that they are a multiple of the align-
ment grid size. The other commands give the selected controls the same width, height, or both.
❑ Horizontal Spacing — This submenu contains commands that change the spacing between the
controls you have selected. It contains the commands Make Equal, Increase, Decrease, and
Remove. For example, if you have selected three controls, the Make Equal command makes
the spacing between the first two the same as the spacing between the second two. This can be
handy for making columns that line up nicely.
❑ Vertical Spacing — This submenu contains the same commands as the Horizontal Spacing sub-
menu except it adjusts the controls’ vertical spacing rather than their horizontal spacing.
35
IDE
571982 ch01_2.qxd 1/19/06 1:15 PM Page 35