Welcome to the Southern African Autolisp Website.

Afra-lISP


You are Visitor Number since 21st June 1999.


fixed_width_font

fixed_width_font

Dialogue with Fixed Width Font.

This attribute specifies whether a 'list_box' or 'popup_list' will display text
in a fixed pitch font. This allows for easier spacing and tab alignment of columns.
This attribute is valid only for Windows/NT.


DCL Code Sample

lisp49ai : dialog {				//dialog name
          label = "fixed_width_font" ;		//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
	  width = 20;				//give it a width
	  fixed_width_font = true;		//fix the font width
	}					//end list box

        ok_cancel ;				//predefined OK/Cancel button

        }					//end dialog


All Tutorials and Code are provided "as-is" for purposes of instruction and
utility and may be used by anyone for any purpose entirely at their own risk.
Please respect the intellectual rights of others.
All material provided here is unsupported and without warranty of any kind.
No responsibility will be taken for any direct or indirect consequences
resulting from or associated with the use of these Tutorials or Code.

Copyright © 1999 by Kenny Ramage
All rights reserved.
Information in this document is subject to change without notice.
Site created and maintained by Kenny Ramage.