Welcome to the Southern African Autolisp Website.

Afra-lISP


You are Visitor Number since 21st June 1999.


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


All Tutorials and Code are provided "as-is" for purposes of instruction and
utility and may be used by anyone for any purpose entirely at their own risk.
Please respect the intellectual rights of others.
All material provided here is unsupported and without warranty of any kind.
No responsibility will be taken for any direct or indirect consequences
resulting from or associated with the use of these Tutorials or Code.

Copyright © 1999 by Kenny Ramage
All rights reserved.
Information in this document is subject to change without notice.
Site created and maintained by Kenny Ramage.