AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

tabs

tabs

List Box with Tabs.

This attribute specifies the placement of tabs in character width units.
Possible value is a quoted string containing integers or floating-point numbers separated by spaces.
Default = None.
These values are used for vertically aligning columns of text in a 'popup_list' or 'list_box'.


DCL Code Sample 

lisp49af : dialog {				//dialog name
          label = "tabs" ;			//give it a label

	: list_box {				//define a list box
	  key = "lb1";				//give it a name
	  label = "Select Bolt Type:";		//give it a label
	  allow_accept = true;			//allow double clicking
	  tabs = "8 16 24";			//set tabs
	  list = "M20\t40LG\tGr. 8,8\n
	          M16\t30LG\tGr. 4,6\n
	          M30\t60LG\tGr. 8,8\n
	          M12\t35LG\tGr. 4,6\n
	          M8\t45LG\tGr. 8,8";		//define the list
	  height = 6;				//give it a height
	  fixed_height = true;			//fix the height
	}					//end list box

        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