LispWorks CAPI User Guide > 4 Creating Common Windows > 4.5 Miscellaneous button elements

NextPrevUpTopContentsIndex

4.5.4 Mnemonics in buttons

The initarg :mnemonic allows you to supply a character, integer or symbol specifying a mnemonic for a button.

Alternatively you can specify the button text and its mnemonic together with the initarg :mnemonic-text , for example:

(contain
 (make-instance 'radio-button
                :mnemonic-text 
                "Radio Button with a &Mnemonic"))

LispWorks CAPI User Guide (Windows version) - 22 Dec 2009

NextPrevUpTopContentsIndex