Highlighted
Absent Member.
Absent Member.
704 views

[archive] Using F-keys 10,11 and 12 to trigger events

[Migrated content. Thread originally posted on 14 January 2003]

Rightly or wrongly I am assiging exception values of 1 through 12 to push buttons I have defined across the top of my screen.

This, by default!, appears to map correctly to the first 9 function keys on my keyboard.

But after that keys 10, 11 and 12 do not appear to trigger an event.

I ran in debug mode (from Workbench) and could see the event processing for 'on exception' for keys 1 to 9 but no such processing occurs for 10, 11, and 12.

Can anyone help explain why?
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] Using F-keys 10,11 and 12 to trigger events

🙂 Thanks

I set the following, initially in my program, but will assign globally later,

set environment "F10_IS_MENU" to "0"
set environment "keystroke" to "exception=11 U1"
set environment "keystroke" to "exception=12 U2"

And it seems to have done the trick.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.