bdeHideBlockParameterDialogOkButton

Removes the ok button from the dialog box.

Syntax

bdeHideBlockParameterDialogOkButton(dialog)

Inputs

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

Examples

Remove an ok button from a given dialog box:

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