bdeShowBlockParameterDialogCancelButton

Sets the dialog box to have a cancel button.

Syntax

bdeShowBlockParameterDialogCancelButton(dialog)

Inputs

dialog
The dialog box to show a cancel button in.
Type: dialog

Examples

Show a cancel button in a given dialog box:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          widget = bdeGetTopLevelWidget();
          dialog = bdeCreateBlockParametersDiaglogFromBlock(block, widget, false);
          bdeShowBlockParameterDialogCancelButton(dialog);
          bdeShowBlockParameterDialog(dialog);