is_cancel Attribute (DCL)

Specifies whether the button is selected when the user presses the Esc key.

Supported Platforms: Windows and Mac OS

is_cancel = true-false;

Possible values are true or false (default: false).

If the action expression for buttons with the is_cancel attribute set to true does not exit the dialog box (does not call done_dialog), the dialog box is automatically terminated after the action expression has been carried out, and the AutoCAD DIASTAT system variable is set to 0.

Only one button in a dialog box can have the is_cancel attribute set to true.

Release Information