AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

tab_truncate

tab_truncate

List Box with Tabs NOT Truncated.

tab_truncate

List Box with Tabs Truncated.

This attribute specifies whether the text in a 'list_box' or 'popup_list' is truncated if it is larger than the associated tab stop.
Possible values are true or false.
Default : false.


DCL Code Sample 

lisp49ag : dialog {				//dialog name
          label = "tab_truncate" ;		//give it a label

	: list_box {				//define a list box
	  key = "lb1";				//give it a name
	  label = "Choose Date:";		//give it a label
	  allow_accept = true;			//allow double clicking
	  tabs = "5 16 24";			//set tabs
	  list = "Jan\t28th\t1999\n
	          Feb\t16th\t1997\n
		  September\t6th\t2000\n
		  Jul\t14th\t1998\n
		  Mar\t12th\t1996";		//define list
	  tab_truncate = true;			//truncate
	  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