AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

children_alignment

children_aligment

Aligned Center

This attribute specifies the default alignment for all tiles in a cluster.
It does not override a child's alignment attribute if that is set.

Possible values for columns are left; right or centered.
default: left

Possible values for rows are top; bottom or centered.
default: centered 


DCL Code Sample 

lisp49k : dialog {				//dialog name
          label = "children_alignment";		//give it a label

	: column {				//define a column
	  children_alignment = right;		//put tiles on the right

	: button {				//define a button
	  key = "btn1";				//give it a name
	  label = "Button No &1";		//give it a label
	  fixed_width = true;			//fix it's width
	}					//end button

	: button {				//define a button
	  key = "btn2";				//give it a name
	  label = "Button No &2";		//give it a label
	  fixed_width = true;			//fix it's width
	  alignment = left;			//override default
						//alignment
	}					//end button

	: button {				//define a button
	  key = "btn3";				//give it a name
	  label = "Button No &3";		//give it a label
	  fixed_width = true;			//fix it's width
	}					//end button

	}					//end column

	spacer;					//add a spacer

        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