Welcome to the Southern African Autolisp Website.

Afra-lISP


You are Visitor Number since 21st June 1999.


mnemonic

mnemonic

Mnemonic

This attribute specifies a keyboard mnemonic character for a tile. The mnemonic
character is underlined in the tile's label. The value is a quoted string of a
single character that must be one of the letters of the tile's label. (No default).
The character does not have to be unique to the dialogue box. If more that one
tile has the same mnemonic, you press Tab to cycle through the tiles sequentially.

The label attribute can also specify a mnemonic by preceeding a character
with an ampersand: (&).


DCL Code Sample

lisp49j : dialog {				//dialog name
          label = "mnemonic";			//give it a label

	: button {				//define a button
	  key = "btn1";				//give it a name
	  label = "Button No 1";		//give it a label
	  fixed_width = true;			//fix it's width
	  alignment = centered;			//centre it
	  mnemonic = "1";			//the mnemonic
	}					//end button

	: button {				//define a button
	  key = "btn2";				//give it a name
	  label = "Button No &2";		//give it a label
						//and define the
						//mnemonic
	  fixed_width = true;			//fix it's width
	  alignment = centered;			//centre it
	}					//end button
			

	spacer;					//add a spacer

        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.