AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

alignment

alignment

Aligned Centered.

alignment

Aligned Right.

This attribute specifies the horizontal or vertical positioning of a tile within its cluster. If a tile is within a column, the possible values are:

left, right or centered. (default: left)

If a tile is within a row, the possible values are:

top, bottom or centered. (default: centered)

You cannot specify the alignment along the long axis of a cluster. The first and last tiles in the cluster always align themselves to the ends of the column or row. 


DCL Code Sample 

lisp49a : dialog {				//dialog name
          label = "aligment" ;			//give it a label

	: button {				//define button
	  label="Button";			//give it a label
	  fixed_width=true;			//fix the width
	  alignment=right;			//align right
	}					//end button

        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