Progress
Language Reference


KBLABEL Function

Interfaces
OS
SpeedScript
All
All
No

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

SYNTAX

KBLABEL ( key-function ) 

key-function

An expression whose value is the name of the special Progress key function. See the Progress Programming Handbook 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 © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095