[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:
parent
1c14f33263
commit
99e9365cf5
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ End
|
|||
|
||||
Public Sub Form_KeyPress()
|
||||
|
||||
If Key.Esc Then Me.Close
|
||||
If Key.code = Key.Esc Then Me.Close
|
||||
|
||||
End
|
||||
|
||||
|
|
Loading…
Reference in a new issue