The
Alignment and Sizing toolbar gives you an easy way to change the location or size of controls, even though you cannot select multiple controls at one time. The
Alignment and Sizing toolbar has the following seven tools:
Align Left: Sets the left side of the target control equal to the left side of the source control.
Align Right: Sets the right side of the target control equal to the right side of the source control.
Align Top: Sets the top edge of the target control equal to the top edge of the source control.
Align Bottom: Sets the bottom edge of the target control equal to the bottom edge of the source control.
Size Height: Sets the height of the target control equal to the height of the source control.
Size Width: Sets the width of the target control equal to the width of the source control.
Size Height/Width: Sets the height and width of the target control equal to the height and width of the source control.
To align and size several controls at a time, follow these steps:
- Set the location and size of any control with the mouse pointer or on the property sheet for the control. This is the source control.
- While the source control is selected, double-click the appropriate align or size tool.
- Click each target control that you want to align or size to the source.
NOTE: If you did not double-click the control in step 2, you will have to click the tool each time that you click a target control. - Click the selected tool once when you have finished aligning and sizing controls.