Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : PROCESS_FCNKEY

PROCESS_FCNKEY
Processes the function keys while a screen is being displayed. (C)
Invocation
CALL PROCESS_FCNKEY(screen)
 
Usage Notes
The PF keys must be predefined to the table FCNKEYS.
Example
The following rule displays a screen called NEW_EMPLOYEE and, using PROCESS_FCNKEY, processes the function keys while the screen is being displayed.
Before you run this rule, you must define the NEW_EMPLOYEE screen and it must contain a screen table called FCNKEY_SPECS, which has a field called FCNKEYS. This is where the function keys appear.
FCNKEY_MSG is a tool that uses the FCNKEYS table to create a string listing the function keys defined for the screen.

 
NEW_EMPLOYEE;
_
_ ---------------------------------------------------------------------
     _ ---------------------------------------------------------------------
_ FCNKEY_SPECS.FCNKEYS = FCNKEY_MSG('NEW_EMPLOYEE'); | 1
_ INSERT FCNKEY_SPECS('NEW_EMPLOYEE'); | 2
_ UNTIL EXIT_DISPLAY DISPLAY NEW_EMPLOYEE : | 3
_ CALL PROCESS_FCNKEY('NEW_EMPLOYEE'); |
_ END; |
_ ---------------------------------------------------------------------

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved