bdeGetBlockParametersDialogResult
Returns a value that represents which button was last pressed in the dialog box.
Syntax
result = bdeGetBlockParametersDialogResult(dialog)
Inputs
- dialog
- The dialog to get the last button pressed in the dialog box.
Outputs
- result
- The button that was pressed in the dialog box. Returns 2 for cancel and 1 for ok.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
result = bdeGetBLockParametersDialogResult(dialog);
result = 2