KEYLABEL function
Evaluates a key code (such as 301) and returns a character string that is the predefined keyboard label for that key (such as F1).
Note: Does not apply to SpeedScript programming.Syntax
key-code
ExampleThis procedure reads each keystroke the user makes, leaving the procedure only when the user presses GO. The KEYLABEL function tests the LASTKEY pressed, and returns the label of the key. (Remember that the value in LASTKEY is the key code of the last key pressed.)
NoteSome key codes can be associated with more than one key label. The KEYLABEL function always returns the label listed first in the ABL table of key labels.
See also
OpenEdge Release 10.2B
|