AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

multiple_select

multiple_select

Multiple Select.

This attribute specifies whether multiple items in a 'list_box' can be selected
(and highlighted) at the same time. Possible values are true or false.
Default : false.
The method of selected multiple items is platform dependent. (On Windows you hold down the 'Ctrl' or 'Shift' key whilst selecting.)


DCL Code Sample 

lisp49ac : dialog {				  //dialog name
          label = "multiple_select" ;		  //give it a label

	: list_box {				  //define list box
	  key = "lb1";				  //give it a name
	  list = "Steel\nConcrete\nWood\nPlastic";//the list
	  height = 5;				  //give it a height
	  width = 10;				  //give it a width
	  fixed_width = true;			  //fix the width
	  fixed_height = true;			  //fix the height
	  alignment = centered;			  //center it
          multiple_select = true;		  //allow multiple select
	}					  //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