bdeHideBlockParameterDialogCancelButton

Removes the cancel button from the dialog box.

Syntax

bdeHideBlockParameterDialogCancelButton(dialog)

Inputs

dialog
The dialog box to remove the cancel button from.
Type: dialog

Examples

Remove a cancel button from a given dialog box:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          widget = bdeGetTopLevelWidget();
          dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
          bdeHideBlockParameterDialogCancelButton(dialog);
          bdeShowBlockParameterDialog(dialog);