[Gambas-devel] Form_Keypress always triggers Key.Esc

Zach Smith zachsmith022 at ...176...
Tue Feb 8 04:17:17 CET 2011


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




More information about the Devel mailing list