Contents | Index | < Browse | Browse >

 GADKEY    Letter

 This is to assign a short cut to a gadget. 
 The effect of the short cut varies with different gadgets.

 If you can not express the letter, you can assign it with
 its decimal ASCII value by putting a "#" character in front of it.

 GadKey #13    for example is ENTER

 IMPORTANT :
 Note that you may also assign a short cut to a gadget by specifying
 it in it's Title. All you do is put an _ (underscore) character
 before the letter in the Title that you want as a short cut.

 The letter will be underscored when the gadget is drawn.

 example :

 xBUTTON 10 15 80 15 "Hit _Me"  <- here the M is underscored and becomes
                                   the button's keyboard shortcut.

 To avoid confusion, the underscore method takes precedence over
 the GadKey command, if both are used on the same gadget.

 Example :  Run Gui   Source