bdeGetBlockParametersDialogClosedOnEscapeKey
Returns a value that represents whether it is possible to exit the dialog box using the escape key.
Syntax
exitEscape = bdeGetBlockParametersDialogClosedOnEscapeKey(dialog)
Inputs
- dialog
- The dialog to check if it is possible to exit using the escape key.
Outputs
- exitEscape
- The value that represents if it is possible to exit the dialog box using the escape key. 1 = can use escape to exit, 0 = can not use escape key to exit.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
exitEscape = bdeGetBlockParametersDialogClosedOnEscapeKey(dialog);
exitEscape = 1