AfraLisp Blog

The AutoLisp/Visual Lisp/VBA Resource Website

AfraLisp Blog

Home Newsletter Utter Rubbish Coding Tips AutoCAD Tips Contact Downloads WAUN

is_default

is
_cancel

Is_Default.

This attribute specifies whether the button is the default button selected ("pushed") when the user presses the accept key. (normally "Enter").
Possible values are true or false.
Default: false.
Only one button in a dialogue box can have the 'is_default' attribute set to true.


DCL Code Sample 

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

	: button {				//define button
          label = "Press Enter";		//give it a label
	  key = "accept";			//give it a name
	  fixed_width = true;			//fix the width
	  is_default = true;			//make it the default 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