Use the following Arrange commands to arrange and test elements of a form. For more information about the Arrange commands, see Form Design Tools.
Group |
Icon |
Command |
Description |
Align to the |
|
Left |
Aligns the left edges of the selected controls with the dominant control. |
|
Right |
Aligns the right edges of the selected controls with the dominant control. |
|
|
Top |
Aligns the top edges of the selected controls with the dominant control. |
|
|
Bottom |
Aligns the bottom edges of the selected controls with the dominant control. |
|
|
Horizontal Center |
Aligns objects to the center of the horizontal area. |
|
|
Vertical Center |
Aligns objects to the center of the vertical area. |
|
Size Evenly |
|
Width |
Resizes the selected controls to have the same width as the dominant control |
|
Height |
Resizes the selected controls to have the same height as the dominant control. |
|
|
Both |
Resizes the selected controls to have the same size as the dominant control. |
|
Space Evenly |
|
Horizontally |
Evenly spaces the selected controls horizontally. |
|
Vertically |
Evenly spaces the selected controls vertically. |
|
Center in Form |
|
Horizontally |
Centers the controls horizontally within the form. |
|
Vertically |
Centers the controls vertically within the form. |
|
Arrange Form |
|
Top Right |
Arranges the selected controls in the top right of the dialog box. |
|
Center Bottom |
Arranges the selected controls in the center bottom of the dialog box. |
|
Tab Order |
|
Tab Order |
Edits the order of the tabs of the controls in the form. |
Check Mnemonics |
|
Check Mnemonics |
Detects duplicate mnemonics in the resource. |
Lock Controls |
|
Lock Controls |
Locks the form controls to prevent them from moving or sizing. |
Grid and Margins |
|
Grid and Margins |
Lets you change grid and margin settings. |
Arrange Test Form! |
|
Arrange Test Form! |
Runs the form to test its appearance and behavior. |