Welcome to the Southern African Autolisp Website.

Afra-lISP


You are Visitor Number since 21st June 1999.


value

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


All Tutorials and Code are provided "as-is" for purposes of instruction and
utility and may be used by anyone for any purpose entirely at their own risk.
Please respect the intellectual rights of others.
All material provided here is unsupported and without warranty of any kind.
No responsibility will be taken for any direct or indirect consequences
resulting from or associated with the use of these Tutorials or Code.

Copyright © 1999 by Kenny Ramage
All rights reserved.
Information in this document is subject to change without notice.
Site created and maintained by Kenny Ramage.