bdeHideBlockParameterDialogOkButton
Removes the ok button from the dialog box.
Syntax
bdeHideBlockParameterDialogOkButton(dialog)
Inputs
- dialog
- The dialog box to remove the ok button from.
Examples
Remove an ok button from a given dialog box:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
bdeHideBlockParameterDialogOkButton(dialog);
bdeShowBlockParameterDialog(dialog);