action

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
|