DrychronRed
Programmer
Hi everyone, and thanks ahead of time for considering my post.
I need to trap function key F1-F12 keystrokes in a window. I have tried OnChar() and OnKeyDown() etc. which give me regular keys, and I have tried OnSysChar() which gives me ALT-keys, but I am still lost as to how to get the function keys. I'm sure there's a way, but I have searched and can't find it. Also, someone once (many years ago when I didn't need this) told me you could trap the function keys, but not F1 because F1 was trapped ahead of time by the system for HELP, and you would have to somehow get at it with a system call.
Any help would be greatly appreciated! I don't even need code, just what function or method to research!
Cheers,
Drychron Red
I need to trap function key F1-F12 keystrokes in a window. I have tried OnChar() and OnKeyDown() etc. which give me regular keys, and I have tried OnSysChar() which gives me ALT-keys, but I am still lost as to how to get the function keys. I'm sure there's a way, but I have searched and can't find it. Also, someone once (many years ago when I didn't need this) told me you could trap the function keys, but not F1 because F1 was trapped ahead of time by the system for HELP, and you would have to somehow get at it with a system call.
Any help would be greatly appreciated! I don't even need code, just what function or method to research!
Cheers,
Drychron Red