AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

label

label

A couple of Labels.

This attribute specifies the the text displayed within tile. Possible value is a quoted string.
Default: A blank string, " ".
The label can specify the mnemonic for a tile by preceding one of the letters of
the label with the ampersand character. (&)


DCL Code Sample 

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

	: boxed_column {			//define a boxed column
	  label = "This is a Label";		//give it a label

	: toggle {				//define a toggle
	  label = "Another Label";		//give it a label
	  key = "tog1";				//give it a name
	}					//end toggle

	: toggle {				//define a toggle
	  label = "Label with a &Mnemonic";	//give it a label
	  key = "tog2";				//give it a name
	}					//end toggle

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

	}					//end boxed column

	spacer;					//add a space

        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