value

Value.
This attribute specifies the initial value of a tile. Possible value is
a quoted string. The meaning of a tile's value varies depending on the
kind of tile. The value of a tile can change at run-time, with user input
or 'set_tile' calls.
DCL Code Sample
lisp49ah : dialog { //dialog name
label = "value" ; //give it a label
: edit_box { //define edit box
key = "eb1"; //give it a name
value = "100.00"; //give it a value
label = "This has a value"; //give it a label
width = 6; //give it a width
fixed_width = true; //fix the width
} //end edit box
: edit_box { //define edit box
key = "eb2"; //give it a name
label = "This has nothing"; //give it a label
width = 6; //give it a width
fixed_width = true; //fix the width
} //end edit box
spacer; //define a space
: toggle { //define a toggle
key = "tog1"; //give it a name
value = "1"; //give it a value
label = "This has value"; //give it a label
} //end toggle
: toggle { //define a toggle
key = "tog2"; //give it a name
label = "This has no value"; //give it a label
} //end toggle
spacer; //define a space
ok_cancel ; //predefined OK/Cancel button
} //end dialog
|