[EXAMPLES]

* BUG: The form close only when the esc key is pressed


git-svn-id: svn://localhost/gambas/trunk@3573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Fabien Bodard 2011-02-15 19:33:42 +00:00
parent 1c14f33263
commit 99e9365cf5

View file

@ -58,7 +58,7 @@ End
Public Sub Form_KeyPress()
If Key.Esc Then Me.Close
If Key.code = Key.Esc Then Me.Close
End