Function keys can be assigned to the CALL dialog command on the ACTION attribute of the key item (KEYI) tag. When the function key is pressed, the UIM calls the specified program.
The CALL dialog command is assigned to a function key to process requests that are specific to the application. These requests either do not have a command interface or require more knowledge about the current application than can normally be passed through a command.
The application can perform most functions, but the application developer must be aware of the effects of changing dialog variables, displaying other panels, and so on.
QSYSINC Member Name: EUIFKCL
The interface level supported by this structure, indicating which fields and values are available for the current interface level.
Set to the following value:
1 | Processes a function key. |
The application handle of the application currently being processed by the UIM.
The name of the panel currently being processed by the UIM.
The function key that is pressed:
1-24 | A function key (F1-F24) is processed. |
26 | The default action when the Enter key is pressed. |
The description of parameters listed in the following table is the same as the corresponding field in the structure for a single parameter interface. The positions listed for each field in the structure do not apply to the multiple parameter interface.
1 | Type of call | Input | Binary(4) |
2 | Application handle | Input | Char(8) |
3 | Panel name | Input | Char(10) |
4 | Function key pressed | Input | Binary(4) |
Top | User Interface Manager (UIM) APIs | APIs by category |