Using custom help and close buttons on dialogs

You can add your own buttons to dialogs to call the help for a control, or close the dialog.

Tip: This feature is designed to be used with the Empty Frame dialog style option. If you use it with one of the other style options, the default help and close buttons will also be visible to the user.

  1. Add a boolean generic control (button) to your design page.
  2. Open the dialog block and the generic control block, then copy and paste the button onto the control surface.

    In the example below, we have created a button that will be used to close the dialog.

  3. Right-click the button, and then click Control Properties.
  4. On the Type tab, under Options, click Toggle.

    Note: The Momentary and String options are not supported for custom help and close buttons.

  5. Click the Wiring tab.
  6. If you want the button to call the help, type helpbutton in the Control Alias box.

    If you want the button to close the dialog, type closebutton in the Control Alias box.

  7. Click OK.