User Dialog Editor

The User Dialog editor allows you to create dialog boxes in your macro. You draw and view controls on a form. After saving the dialog, the user dialog is described by a Begin Dialog ... End Dialog block in the code of the macro. Changes can be made directly within the Code window. To graphically edit a user dialog place the current selection in a user dialog block and select UserDialog from the menu Edit.

Use the buttons in the Toolbox to draw controls on the form. You can set your controls to align with the grid of your form from the Grid settings dialog box.

Edit Item Properties

or double-clicking a control calls up a small dialog, where the position, the size, the caption and all other special properties of a control can be edited.

Delete

or DEL deletes the currently selected control.

Cut

or CTRL+X or SHIFT+DELETE removes the selected control and places it on the Clipboard. You must select at least one control for this command to be available.

Copy

or CTRL+C or Ctrl+INSERT copies the selected control onto the Clipboard. You must select at least one control for this command to be available.

Paste

or CTRL+V or Shift+INSERT inserts the contents of the Clipboard at the current location. The control is placed at the insertion point.

Move in Front

Moves the selected control up within the description of the user dialog. This causes the control to be painted on top of all other controls, described behind in the dialog block.

Move Behind

Moves the selected control down within the description of the user dialog. This causes the control to be painted behind all other controls, described above in the dialog block.

Select in Front

Selects the previous control item within the description of the user dialog.

Select Behind

Selects the next control item within the description of the user dialog.

Set Grid

Selects the next control item within the description of the user dialog.

Save and Exit

Saves the user dialog within a Begin Dialog ... End Dialog block in the code of the macro and returns to the Code window.