is_cancel = flag;


Activate this button when [ESC] is pressed.


This attribute selects a button when the user presses the [Esc] key. Only one button in a dialog box is permitted to have the is_cancel attribute set to true. Typically, you use the is_cancel attribute for the Cancel button.

flag: true or false (default).

 

Example

is_cancel = true;

action = ("done_dialog");

 

NOTE When a button has the is_cancel attribute, you should have the action attribute call the LISP done_dialog function. If you don't, Bricscad automatically terminates the dialog box when the DIASTAT system variable is set to 0.

 

Valid Tile

button

 

Tell me about...

Programming Overview of DCL (Dialog Control Language)

About Predefined Attributes

 


Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved.