The Dialog Editor provides several ways to reposition dialog boxes and items.
Mouse. |
|
Arrow keys. |
|
Dialog Box Information dialog box. |
|
Item with the Information dialog box. |
Click the
button on the Dialog Editor toolbar.Place the cursor on an empty area in the dialog box or on a control.
Hold the left-mouse button down and drag the dialog box or control to the desired location.
Note: The increments by which you can move a control with the mouse are governed by the grid setting.
Example
The grid has the following settings
X = 4
Y = 6
The control can move in the following increments:
Horizontal = 4 X units
Vertical = 6 Y units.
This feature is useful if you are trying to align controls in your dialog box. If you want to move controls in smaller or larger increments.
Arrow Keys
Select the dialog box or control that will be moved.
Do one of the following.
Press an Arrow key once to move the item by 1 X or 1 Y unit in the desired direction.
Hold the arrow key down to move the item steadily (in increments of 1 unite) along in the desired direction.
Note: When you reposition an item with the arrow keys, a faint, partial afterimage of the item may remain visible in the item's original position. These afterimages are rare and will disappear once you test your dialog box.
Dialog Box with the Dialog Box Information Dialog Box
Open the Dialog Box Information dialog box.
Change the X and Y coordinates in the Position group box.
Click the Enter on the keyboard.
button or pressIf you specified X and Y coordinates, the dialog box moves to that position. If you left the X coordinate blank, the dialog box will be centered horizontally relative to the parent window of the dialog box when the dialog box is run. If you left the Y coordinate blank, the dialog box will be centered vertically relative to the parent window of the dialog box when the dialog box is run.
Item with the Information Dialog Box
Open the Information dialog box for the control that you want to move.
Change the X and Y coordinates in the Position group box.
Click the Enter on the keyboard.
button or pressNote: When you move a dialog box or control with the arrow keys or with the Information dialog box, the item's movement is not restricted to the increments specified in the grid setting.
When you attempt to test a dialog box containing hidden controls (i.e., controls positioned entirely outside the current borders of your dialog box), the Dialog Editor displays a message advising you that there are controls outside the dialog box's borders and asks requests confirmation to proceed with the test. If you proceed, the hidden controls will be disabled for testing purposes.
3. Edit a custom dialog box. |