Share this Page URL

Chapter 7. Designing Basic Forms > Formatting Controls with Properties - Pg. 256

Designing Basic Forms 256 · Position the pointer just above the top left corner of the first control you want to select, press the left mouse button, and then drag a rectangle around the controls you want to select. This tech- nique is useful when you're selecting a group of controls in close proximity to one another. Selecting controls in this manner selects any control that falls partially within the rectangle you draw. You can change this behavior so that only those controls that are included entirely in the rectangle are selected by choosing Tools, Options and then clicking the Forms/Reports tab. Change the setting in the Selection Behavior area to Fully Enclosed. · Drag your mouse along the vertical or horizontal ruler to select the controls that fall within the area you highlight. You can also click a ruler to select controls immediately below or to the right of the spot you clicked. · Click Edit, Select All to select all the controls on a form. If you want to select all controls except for a few, click Edit, Select All, and then hold down the Shift key and click those controls you don't want to select. Formatting Controls with Properties In examples earlier in this chapter, we changed the Height property of the Form Footer and Form Header sections. Controls such as text boxes, list boxes, and command buttons have properties that control their size and position as well as their appearance. In this section, we'll make other modifications to the Tasks form by changing property settings. We'll adjust the size of several text boxes and also format the text in the label we added to the form's header. Format controls using properties 1. If the Tasks form isn't open in Design view, select it in the Database window, and then click Design on the Database window toolbar.