Editing and positioning dialog box controls

Quattro Pro lets you customize the position and appearance of dialog box controls.

Dialog box controls are created with a default object name (for example, Dialog 1). Macros, link commands, and formulas use this name when referring to a specific control. You can rename these controls.

You can move dialog box controls in the same way as you move other floating objects. You can also specify the exact position of controls on a dialog box.

Controls can be copied in the same way as you copy other objects. Each instance of a control has a different object name (Button1, Button2, and so on), to avoid confusion when referring to the control in macros, link commands, and spreadsheet functions.

You can edit the controls in a dialog box. As well, you can align, center, and space multiple controls. For example, when you space controls horizontally, the first control you select displays at the left after repositioning, the next control displays to the right of the first, and so on. When you space controls vertically, the first control you select displays at the top, and so on.

You can change the size of a control in the same way as you resize other objects.

By default, when you press TAB, you can cycle through the controls in the order they were added to the dialog box. However, you can change this tabbing order.


To rename a control in a dialog box

Wordperfect Quattro Pro btnbacktotopproc Editing and positioning dialog box controls
1.
 
Click the Quick tab Wordperfect Quattro Pro pgx btnsptab Editing and positioning dialog box controls button at the bottom of the application window to display the Objects sheet.
2.
 
Double-click a dialog box.
3.
 
Right-click a control, and click Properties Wordperfect Quattro Pro onestep Editing and positioning dialog box controls Name.
4.
 
Type a new name in the Enter text box.

To move a control in a dialog box

Wordperfect Quattro Pro btnbacktotopproc Editing and positioning dialog box controls
1.
 
Click the Quick tab Wordperfect Quattro Pro pgx btnsptab Editing and positioning dialog box controls button at the bottom of the application window to display the Objects sheet.
2.
 
Double-click a dialog box.
3.
 
Select a control.
4.
 
Drag the control to a new location.

Wordperfect Quattro Pro tip Editing and positioning dialog box controls

 
If two or more controls are covering all or part of another control, you can adjust the overlap options so that the controls position separately by right-clicking one of the controls, clicking Object order, and clicking the appropriate selection.
 
If you want to use a grid to help you position the control, right-click the dialog box title, click Dialog properties Wordperfect Quattro Pro onestep Editing and positioning dialog box controls Grid options, and enable the Show grid check box.

To specify an exact position for a control in a dialog box

Wordperfect Quattro Pro btnbacktotopproc Editing and positioning dialog box controls
1.
 
Click the Quick tab Wordperfect Quattro Pro pgx btnsptab Editing and positioning dialog box controls button at the bottom of the application window to display the Objects sheet.
2.
 
Double-click a dialog box.
3.
 
Right-click the control, and click Properties Wordperfect Quattro Pro onestep Editing and positioning dialog box controls Dimension.
4.
 
Type a value in the following boxes:
X pos — lets you specify the distance in pixels between the left edge of the control and the left side of the dialog box
Y pos — lets you specify the distance in pixels between the top edge of the control and the bottom edge of the dialog box’s title bar

To copy a control in a dialog box

Wordperfect Quattro Pro btnbacktotopproc Editing and positioning dialog box controls
1.
 
Click the Quick tab Wordperfect Quattro Pro pgx btnsptab Editing and positioning dialog box controls button at the bottom of the application window to display the Objects sheet.
2.
 
Double-click a dialog box.
3.
 
Select a control.
4.
 
Click Edit Wordperfect Quattro Pro onestep Editing and positioning dialog box controls Copy.
5.
 
Click where you want to copy the control.
6.
 
Click Edit Wordperfect Quattro Pro onestep Editing and positioning dialog box controls Paste.

Wordperfect Quattro Pro note Editing and positioning dialog box controls

 
Copying a parent control copies any child controls attached to it as well.

Wordperfect Quattro Pro tip Editing and positioning dialog box controls

 
You can also copy a control by using the Copy Wordperfect Quattro Pro pgx btncopy Editing and positioning dialog box controls and Paste Wordperfect Quattro Pro pgx btnpaste Editing and positioning dialog box controls buttons on the toolbar.

To edit multiple dialog box controls

Wordperfect Quattro Pro btnbacktotopproc Editing and positioning dialog box controls
1.
 
Click the Quick tab Wordperfect Quattro Pro pgx btnsptab Editing and positioning dialog box controls button at the bottom of the application window to display the Objects sheet.
2.
 
Double-click a dialog box.
3.
 
Drag a frame around the controls you want to edit.
4.
 
Edit the selected controls.

Wordperfect Quattro Pro tip Editing and positioning dialog box controls

 
You can also select multiple controls by holding down Shift and clicking the controls you want to edit.
 
You can edit all controls in a dialog box by clicking a control and clicking Edit Wordperfect Quattro Pro onestep Editing and positioning dialog box controls Select all.

To align multiple dialog box controls

Wordperfect Quattro Pro btnbacktotopproc Editing and positioning dialog box controls

1.
 
Click the Quick tab Wordperfect Quattro Pro pgx btnsptab Editing and positioning dialog box controls button at the bottom of the application window to display the Objects sheet.
2.
 
Double-click a dialog box.
3.
 
Click a control, hold down Shift, and click additional controls.
4.
 
Right-click one of the controls, click Align, and click one of the following:
Align left — lines up the left sides of the selected controls
Align right — lines up the right sides of the selected controls
Align top — lines up the top edges of the selected controls
Align bottom — lines up the bottom edges of the selected controls

To center multiple dialog box controls

Wordperfect Quattro Pro btnbacktotopproc Editing and positioning dialog box controls
1.
 
Click the Quick tab Wordperfect Quattro Pro pgx btnsptab Editing and positioning dialog box controls button at the bottom of the application window to display the Objects sheet.
2.
 
Double-click a dialog box.
3.
 
Click a control, hold down Shift, and click additional controls.
4.
 
Right-click one of the controls, click Position, and click one of the following:
Center horizontally — centers controls between the left and right edges of the dialog box
Center vertically — centers controls between the top and bottom edges of the dialog box

To space multiple dialog box controls

Wordperfect Quattro Pro btnbacktotopproc Editing and positioning dialog box controls
1.
 
Click the Quick tab Wordperfect Quattro Pro pgx btnsptab Editing and positioning dialog box controls button at the bottom of the application window to display the Objects sheet.
2.
 
Double-click a dialog box.
3.
 
Click a control, hold down Shift, and click additional controls.
4.
 
Right-click one of the controls, click Space, and click one of the following:
Horizontal space
Vertical space
5.
 
Type a number in the Space between objects box.
This indicates the pixel distance to space the selected controls.

To resize multiple dialog box controls

Wordperfect Quattro Pro  Editing and positioning dialog box controls source/images/btnbacktotopproc.gif" alt="Back to Top" border="0" height="10" width="10">
1.
 
Click the control whose size you want to apply to other controls.
2.
 
Hold down Shift, and click additional controls.
3.
 
Click Format Wordperfect Quattro Pro onestep Editing and positioning dialog box controls Same size.

To change the tab order for dialog box controls

Wordperfect Quattro Pro btnbacktotopproc Editing and positioning dialog box controls
1.
 
Click the Quick tab Wordperfect Quattro Pro pgx btnsptab Editing and positioning dialog box controls button at the bottom of the application window to display the Objects sheet.
2.
 
Double-click a dialog box.
3.
 
Hold down Shift, and select each control in the order you want to move through the controls.
4.
 
Click Format Wordperfect Quattro Pro onestep Editing and positioning dialog box controls Tab order Wordperfect Quattro Pro onestep Editing and positioning dialog box controls Set new.

Wordperfect Quattro Pro note Editing and positioning dialog box controls

 
You can also change the order for settings initial values of a control and the order in which they activate. For more information about changing the initial values and order of controls, see “To change the order for setting initial values in a dialog box.”

Editing and positioning dialog box controls