is_cancel
Is_Cancel.
This attribute specifies whether the button is selected when the user
presses
the cancel key (Esc or Ctrl+C). Possible values are true or false.
Default: false.
Only one button in a dialogue box can have the 'is_cancel' attribute set
to true.
DCL Code Sample
lisp49v : dialog { //dialog name
label = "is_cancel" ; //give it a label
: button { //define button
label = "Press Escape"; //give it a label
key = "cancel"; //give it a name
fixed_width = true; //fix the width
is_cancel = true; //make it the cancel key
} //end button
} //end dialog
|