AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

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
 
The AutoLisp/Visual Lisp/VBA Resource Website

Copyright 1999-Perpetuity by AfraLisp

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

The AutoLisp/Visual Lisp/VBA Resource Website