KEY attribute
The KEY
attribute is used to define the labels of keys when the field is made current.
Syntax
KEY keyname = [%]"label"
- keyname is the name of a key ( like
F10
,"Control-z"
). - label is the text to be displayed in the button corresponding to the key.
Usage
Use the KEY
attribute to define a label for the accelerator key
corresponding to an action when the focus is in the field.
The keyname must be specified in quotes if you want to use Control / Shift / Alt key modifiers.
See the KEYS
section to define key labels for the whole form.
Note: This feature is supported for backward compatibility. Consider using action attributes to define accelerator keys
and decorate actions.
Example
EDIT f001 = customer.city, KEY F10 = "City list";
EDIT f002 = customer.state, KEY "Control-z" = "Open Zoom";