ACCELERATOR attribute

The ACCELERATOR is an action attribute defining the primary accelerator key for an action.

Syntax

ACCELERATOR = { key | "key" }
  1. key defines the accelerator key. This can be a combination of CONTROL-, SHIFT-, ALT- and letter or number. The string literal is allowed to define accelerators such as "*" to specify an asterisk character.

Usage

This attribute is an action attribute that can be specified in form ACTION DEFAULTS, for more details, see ACCELERATOR action attribute.

Example:

ACTION DEFAULTS
  ...
  ACTION print ( TEXT="Print", ACCELERATOR = CONTROL-P )
  ...
END