Returns the keyboard label (such as F1) of the key that performs a
specified ABL function (such as GO).
Note: Does
not apply to SpeedScript programming.
Syntax
-
key-function
- An expression whose value is the name of the special ABL key function. See
OpenEdge Development: Programming Interfaces for possible values of
key-name. If key-function is a constant, enclose
it in quotation marks (""). See the same chapter for a list of key functions and the
corresponding standard keyboard keys.
Example
The r-kblabl.p procedure
allows the user to update some of the fields in each of the customer
records, and displays a message in the status message area at the
bottom of the window:
r-kblabl.p
STATUS INPUT "Enter data, then press " + KBLABEL("GO").
FOR EACH Customer:
UPDATE Customer.CustNum Customer.Name Customer.Address Customer.City
Customer.State.
END.
|
Note
If you
reassign a new function key for the key function with the ON statement,
the KBLABEL function returns the new key.