AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

allow_accept

allow_accept

Allow_Accept.

This attribute specifies whether a particular tile can be double-clicked.
If true and the user double-clicks the tile, the tile who's key is "accept" is selected. (Normally the O.K. tile.)
This attribute defaults to false


DCL Code Sample 

lisp49n : dialog {				//dialog name
          label = "allow_accept";		//give it a label

	: list_box {				//define a list box
	  key = "lb1";				//give it a name
	  label = "Double Click a Letter:";	//give it a label
	  list = "A\nB\nC\nD\nE\nF\nG\nH\nI";	//make a list
	  height = 5;				//define height
	  fixed_height = true;			//fix the height
	  allow_accept = true;			//allow double click
	}					//end list 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