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.
Type: dialog

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.
Type: Boolean

Examples

Check if it is possible to exit a dialog box using the escape key:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          widget = bdeGetTopLevelWidget();
          dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
          exitEscape = bdeGetBlockParametersDialogClosedOnEscapeKey(dialog);
        

          
            exitEscape = 1