AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

small_increment

small_increment

Small Increment.

This attribute specifies the value that the slider will increase or decrease by, if you click the slider bar arrow controls located at each end of the slider.
This value must be between the min_value, and the max_value.
Default value: One-hundredth of the total range. 


DCL Code Sample 

lisp49ae : dialog {				//dialog name
          label = "small_increment" ;		//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 = 100;			//upper value
        min_value = 0;				//lower value
        value = "50";				//initial value
	small_increment = 2;			//define small increment
	big_increment = 5;			//define big increment
        }					//end slider

        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