Moving controls

Once a control has been added to the work dialog, it can be moved just as easily as it can be resized. When a control is moved by the mouse, it moves in multiples of the dialog grid size - simply click in the main body of the control and Drag it to the new position on the work dialog. When the mouse hovers over a control the mouse cursor changes to a four-pointed arrow, indicating a valid cursor location for the drag operation.

As with resizing using the keyboard, finer control for movement of a control can be achieved with the keyboard. Select the control either with the mouse or the keyboard as before, then use the keyboard arrow keys to move the control as required.

Selecting multiple controls

It is also possible to move whole sets of controls by selecting them, then using the drag or keyboard movement technique. Multiple controls can be selected in several ways:

  1. Click the first control in the set to select it, then while holding the CTRL key down, select (click) on the other controls. As each control is added to the selection group, it is assigned size grips (in a different and configurable color). Also see "Manipulating the multiple-control group" below.

  2. Click on a blank section of the work dialog, then drag the mouse across the controls that are to be selected. As the mouse is dragged, a selection rectangle is drawn. When the mouse button is released, controls that are touching or enclosed by the selection rectangle are selected as a group.

  3. Press CTRL+A or choose the Select All menu item in the Edit menu. This automatically selects all controls in the work dialog.

Finally, when all of the intended controls are selected, click on any one of the controls in the group and drag the group to the target position, or use the keyboard arrow keys to move the entire group.

Manipulating the multiple-control group

In a group of selected controls, one of the selected controls is considered the Focus control, and its size grips is drawn using the Focus Control color to signify this state.

When multiple control are selected, the result of clicking on a selected control while holding down the CTRL key can have three effects depending on whether the control is the Focus control, another multiple-control group member, or a non-group control:

  1. If the Focus control is clicked in this manner, it is deselected (removed) from the group.

  2. If a non-Focus control (which is already a group member) is clicked, it will automatically become the new Focus control of the group. Immediately clicking the control again deselects (removes) the control from the group.

  3. If a control is clicked that is not in the group, it is added to the group and becomes the new Focus control of the group. Immediately clicking the control again deselects (removes) the control from the group.

As with resizing, "supernudge" mode is also available when moving controls, simply by combining the SHIFT key with the control movement keystrokes described above. In supernudge, movement occurs in steps equal to the current grid size. For example, with the default 5x5 grid, controls can be moved in 5-dialog unit steps horizontally, and 5-dialog units vertically.


See Also

Adding controls to a work dialog

Resizing controls

Cut, copy and paste

Send to back