70-526 MCTSUsing the Layout ToolbarThe Layout toolbar provides a simple access point to laying out controls on a Form. ![]() The Layout toolbar enables you to align, resize, change spacing, and center controls on the form. Aligning controls to the grid![]() When placing any control on the Form, if you also set SnapToGrid to True, then the controls will snap to the grid. However if you left SnapToGrid set to False, then the controls will be placed wherever you put them. In order to align them to the grid, you can use the first button on the Layout toolbar. Horizontal and Vertical Alignment![]() These buttons perform the same functions as the Align sub-menu under the Format menu. Sizing Controls![]() These buttons perform the same functions as the Make Same Size sub-menu under the Format menu with the exception that the fourth button sizes the control to fit within the current grid. Horizontal and Vertical Spacing![]() These buttons perform the same functions as the Horizontal Spacing and Vertical Spacing sub-menus under the Format menu. Centering![]() These buttons perform the same functions as the Center in Form sub-menu under the Format menu. Ordering![]() These buttons perform the same functions as the Order sub-menu under the Format menu. Lock Controls![]() This button performs the same function as the Lock Controls sub-menu under the Format menu.
|