Creating custom dialog boxes

You can create custom dialog boxes in ACL whenever you need to prompt users for several pieces of information, when you want to create a dialog box that displays more information than a standard message box, or when you want to dynamically list ACL project items in the dialog box.

To create a custom dialog box:

  1. Open the ACLScript you want to add the custom dialog box to, and move the cursor to the line in the script where you want to insert the dialog box command.
  2. Click Build New Dialog .

    ACL displays the Dialog Builder with a default title of “User Dialog”.

  3. Complete any of the following steps to create your dialog box:
    • Double-click the form layout area to modify the title and size of the dialog box.

    • The icons for the controls you can add are listed on the lefthand side of the Dialog Builder. Click the control icon and then click in the form layout area to add a control.

    • To delete a control from the form layout area, select the control and click Delete . You cannot delete the OK and Cancel buttons.

    • Click Snap to Grid  to turn the grid on or off in the form layout grid. Use the grid to align controls on the form. When this option is turned on, the top-left corner of each control is aligned with the closest grid point when you place or move the control on the form.

  4. Click Close to exit the Dialog Builder.
  5. Click OK in the confirmation dialog box to save your changes.

    ACL displays the Dialog Builder command line in the script window. You can see all of the controls in the dialog box by scrolling to the right.

Section contents

(C) 2013 ACL Services Ltd. All Rights Reserved. | Send feedback