AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

action

width

Action Attribute in action.

This attribute specifies an AutoLisp expression to activate. The value must be quoted. eg. "(acad_colordlg 3)"

 


DCL Code Sample 

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

	: button {				 //define a button
	  fixed_width = true;			 //fix it's width
	  alignment = centered;			 //center it
	  label = "Action Button";		 //give it a label
	  action = "(alert \"Kenny is Great\")"; //Trigger an AutoLisp Function
	}					 //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