Welcome to the Southern African Autolisp Website.
You are Visitor Number since 21st June 1999.
initial_focus

Initial Focus.
This attribute specifies the the key of the tile within the dialogue box
that receives the intitial focus when the dialogue is started.
Possible value is a quoted string.
Default: None.
DCL Code Sample
lisp49t : dialog { //dialog name
label = "intial_focus" ; //give it a label
initial_focus = "btn1"; //set focus
: button { //define button
key = "btn1"; //give it a name
label = "Initial Focus"; //give it a label
alignment = centered; //center it
fixed_width = true; //fix the width
} //end button
: button { //define button
key = "btn2"; //give it a name
label = "Not Focused"; //give it a label
alignment = centered; //center it
fixed_width = true; //fix the width
} //end button
spacer; //add a space
ok_cancel ; //predefined OK/Cancel 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.
|