AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

list

list

List with Tabs.

This attribute specifies the initial set of lines (choices) to be placed in the 'popup_list' or 'list_box'. Possible value is a quoted string.
Default : None.
Lines are separated by a new line symbol (\n). Tab characters (\t) can occur
within each line.


DCL Code Sample 

lisp49z : dialog {				//dialog name
          label = "list" ;			//give it a label

	: list_box {				//define list box
	  key = "lb1";				//give it a name
	  list = "A\tB\nC\tD\nE\tF\nG\tH";	//the list
	  tabs = "2 4";				//set tabs
	  height = 5;				//give it a height
	  width = 6;				//give it a width
	  fixed_width = true;			//fix the width
	  fixed_height = true;			//fix the height
	  alignment = centered;			//center it
	}					//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