AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

min_value

min_value

Minimum Value = -50.

This attribute specifies the lower range of values that a slider returns.
Default: 0.
This value must be no less than -32767. The 'min_value' can be greater than the
'max_value'. This reverses the order in which these values appear on the screen. (Platform dependent).


DCL Code Sample

lisp49ab : dialog {				//dialog name
          label = "min_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