Question:
How do I disable function keys in an application?
Answer:
You can disable function keys by using the ON KEY LABEL command. Putting an asterisk (*) after the key name disables the key.
For example, the following command disables the F2 function key:
ON KEY LABEL F2 *
To restore the function key later, just execute the same command without the asterisk.
For example, the following command enables the F2 key:
ON KEY LABEL F2