AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

edit_limit

edit_limit

Edit Limit.

This attribute specifies the maximum number of characters a user is allowed to enter into an edit box. Possible value is an integer.

Default: 132. 


DCL Code Sample 

lisp49r : dialog {				//dialog name
          label = "edit_limit" ;		//give it a label
  
	: edit_box {				//define edit box
	  key = "eb1";				//give it a name
	  label = "Input CD Key  ";		//give it a label
	  edit_limit = 4;			//limit characters
	}					//end edit box

	: edit_box {				//define edit box
	  key = "eb2";				//give it a name
	  label = "Serial Number";		//give it a label
	  edit_limit = 8;			//limit characters
	}					//end edit box

	spacer;					//add 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