F11 and F12 keys on Windows applications

0 Likes

This article describes how to use F11 or F12 on a Windows application.

Problem:

You want to configure the runtime so you can recover the keystrokes F11 or F12 from your keyboard on your Windows graphical application.

Resolution:

Set the KEYSTROKE runtime variable in the configuration file to return the exception expected for those keys. This is done by adding the EXCEPTION keyword to this variable and setting its value. For example:

KEYSTROKE EXCEPTION=11 U1
KEYSTROKE EXCEPTION=12 U2

In this example, F11 returns exception value 11 and F12 returns exception value 12 when used. Your next step is to write the code to use those two values.

The KEYSTROKE variable (including its keyword options) is described in detail in section 4.3.2.2 of your ACUCOBOL-GT User's Guide.

Incident Number: 2180699

Old KB# 14104
Comment List
Anonymous
Related Discussions
Recommended