bdeShowBlockParameterDialogOkButton

Sets the dialog box to have an ok button.

Syntax

bdeShowBlockParameterDialogOkButton(dialog)

Inputs

dialog
The dialog box to show an ok box in.
Type: dialog

Examples

Show an ok button for a given dialog box:

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