SELECTING CONTROLS
When you first create a control, the designer selects it. The designer indicates that the control is selected by surrounding it with white boxes. In Figure 3-2, the Button2 control is selected.
FIGURE 3-2: The designer surrounds a selected control with white boxes.
To select a control on the designer later, when you haven’t just added it, simply click it.
You can click and drag to select a group of controls. As you drag the mouse, the designer displays a rectangle so you can tell which controls will be selected. When you release the mouse button, all of the controls that overlap the rectangle at least partly are selected.
When you select a group of controls, the designer surrounds most of them with black boxes. It surrounds a special “master” control with white boxes. In Figure 3-3, four buttons are selected. Button1 is the “master” control so it is surrounded by white boxes.
FIGURE 3-3: The selection’s “master” control is surrounded by white boxes.
The designer uses the “master” control to adjust the others if you use the Format menu’s commands. For example, if you use the Format ⇒ Make Same Size ⇒ Height command, the designer gives the “black box” controls the same height as the “master” control. Similarly the Format ⇒ Align ⇒ Tops command moves the “black ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access