Trap function keys Winforms.
Posted on 2006-11-06
I have a windows form application with a few user specified options. I could use radio buttons, but I would like to use function key to toggle options off and on. For example F5 toggles between "SUMMARY DATA" and "DETAIL DATA", F6 toggles between "HOME" and "AWAY", etc. I can't find any documentation on trapping when a function key is pressed. This needs to work wherever control is on the form.