AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

max_value

max_value

Maximum Value = 50.

This attribute specifies the upper range of values that a slider returns.
Default: 10000.
This value must be no greater than 32767.


DCL Code Sample 

lisp49aa : dialog {				//dialog name
          label = "max_value" ;			//give it a label

        : edit_box {				//define edit box
         key = "eb1" ;				//give it a name
         label = "Slot &Length (O/All Slot)" ;	//give it a label
         edit_width = 6 ;			//6 characters only
        }					//end edit box

        : slider {				//define slider
        key = "myslider" ;			//give it a name
        max_value = 50;				//upper value
        min_value = -50;			//lower value
        value = "50";				//initial value
	big_increment = 5;			//define big increment
        }					//end slider

        : row {					//define row
	
	: text {				//define text
	  value = "Min Value";			//give it a value
	}					//end text

	: text {				//define text
	  value = " ";				//give it a value
	}					//end text

	: text {				//define text
	  value = "Max Value";			//give it a value
	}					//end text

	}					//end row

        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