Trap function keys pressed on a Windows Form
Yes, it is possible to trap function key values by using the KeyDown event on the form.
method-id Form1_KeyDown final private.
procedure division using by value sender as object e as type System.Windows.Forms.KeyEventArgs.
if e::KeyCode = type Keys::F1
invoke type MessageBox::Show("F1 was pressed")
set e::Handled to true