Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## KBLABEL function

> Returns the keyboard label (such as F1) of the key that performs a specified Progress function (such as GO).

> Note: Does not apply to SpeedScript programming.

> #### Syntax

>     KBLABEL ( key-function )

> ``key-function``

> An expression whose value is the name of the special Progress 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. It also 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 cust-num name address city 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.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095