Any key press will trigger Key.Esc. If you press CTRL, both CTRL and
ESC will trigger.
Public Sub Form_KeyPress()
If Key.Control Then
Print Time & " Control key pressed."
End If
If Key.Esc Then
Print Time & " Escape key pressed."
End If
End
Gambas 3, r3549