bdeBlockParameterDialogCancelButtonAsClose
Sets the dialog box to close the dialog box when the cancel button is pressed.
Syntax
bdeBlockParameterDialogCancelButtonAsClose(dialog)
Inputs
- dialog
- The dialog box that will have have it's cancel button function set to close the dialog.
Examples
Set a dialog box to close when the cancel button is pressed:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
bdeBlockParameterDialogCancelButtonAsClose(dialog);