Setting the Button Hot Key

Description

The button hot key allows you to click a button using a key combination on the keyboard instead of the mouse.

To specify the button hot key, use the '&' character in front of the hot key in the button text. For example, the following command defines the 'O' in 'OK' and the 'C' in 'Cancel' as the hot keys for these buttons. Pressing Control-O, or Control-C will select the buttons.

ui_dlg_box("Title",<<%dlg%
{region}
Filename: [.32filename]
{endregion};
<*15:&OK>;
<15:&Cancel>
%dlg%)

Limitations

Desktop applications only

See Also