is_default

Is_Default.
This attribute specifies whether the button is the default button
selected ("pushed") when the user presses the accept key.
(normally "Enter").
Possible values are true or false.
Default: false.
Only one button in a dialogue box can have the 'is_default' attribute set
to true.
DCL Code Sample
lisp49w : dialog { //dialog name
label = "is_default" ; //give it a label
: button { //define button
label = "Press Enter"; //give it a label
key = "accept"; //give it a name
fixed_width = true; //fix the width
is_default = true; //make it the default key
} //end button
} //end dialog
|