Skip to main content

I'm looking for information about the enabling function keys and page-up page-down keys etc. I'm having trouble determining how to intercept page-up / page-down keys.

I'm looking for information about the enabling function keys and page-up page-down keys etc. I'm having trouble determining how to intercept page-up / page-down keys.

Which Micro Focus product version are you using and on what platform, Windows, Linux/Unix?

I'm looking for information about the enabling function keys and page-up page-down keys etc. I'm having trouble determining how to intercept page-up / page-down keys.

Hi Chris,
I'm running Studio E.E. 6.0 on Windows 7 Professional - I've found a web page with the scancodes I needed in order to detect the Page Up and Page down keys. So I might not need too much more help. Thanks

I'm looking for information about the enabling function keys and page-up page-down keys etc. I'm having trouble determining how to intercept page-up / page-down keys.

probably you have to enable at the beginning of the program first the use of the function keys. I use following:
INICIO-PROG. DISPLAY blank-screen.
* ver pag. 29-11 para valores 29-14 15 procedimiento
CALL x"af" using Set-Bit-Pairs user-key-control. *>F1..ALTF12
*>98 teclas
MOVE 3 TO Bit-Pair-Setting. MOVE 5 TO Bit-Pair-Number.
CALL x"af" using Set-Bit-Pairs Parameter-Block. *>FL-SUBE
MOVE 6 TO Bit-Pair-Number.
CALL x"af" using Set-Bit-Pairs Parameter-Block. *>FL-BAJA

* enabling TAB as function key.
MOVE X"01320802" TO Parameter-Block,
CALL X"AF" using Set-Bit-Pairs Parameter-Block.

What happend at the Moment usisn page-up page Key? If at the Moment nothing happens, These preparation is missing.
If this is your Problem, I can give you more Details, WORKING-STORAGE, etc.
Aftherwards you Need the key-codes:

01 KEY-STATUS. *> CTRL F11 F12
03 key-type-CODE. *> Page 29-11 29-16
88 AV-PAG VALUE X"3136".
88 RE-PAG VALUE X"3135".