AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

is_cancel

is
_cancel

Is_Cancel.

This attribute specifies whether the button is selected when the user presses
the cancel key (Esc or Ctrl+C). Possible values are true or false.
Default: false.
Only one button in a dialogue box can have the 'is_cancel' attribute set to true.


DCL Code Sample 

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

	: button {				//define button
          label = "Press Escape";		//give it a label
	  key = "cancel";			//give it a name
	  fixed_width = true;			//fix the width
	  is_cancel = true;			//make it the cancel key
	}					//end 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