PDA

View Full Version : Using F-keys 10,11 and 12 to trigger events


axc
01-14-2003, 02:50 AM
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?

KMooney
01-15-2003, 05:48 PM
ACUCOBOL-GT Appendix M2.2 Keyboard Differences for 32-bit Windows probably holds the key to this question.

axc
01-16-2003, 08:56 AM
:) 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.