Re: [Gambas-user] KeyPress Escape to close a form

2014-01-31 Thread Benoît Minisini
Le 31/01/2014 19:25, Tobias Boege a écrit : > On Fri, 31 Jan 2014, abbat81 wrote: >> How to make an event for Key Press Escape button to close a form >> Thanks >> > > Do you mean: > > Public Sub Form_KeyPress() >If Key.Code = Key.Esc Then Me.Close() > End > > This has nothing to do with a Butto

Re: [Gambas-user] KeyPress Escape to close a form

2014-01-31 Thread Tobias Boege
On Fri, 31 Jan 2014, abbat81 wrote: > How to make an event for Key Press Escape button to close a form > Thanks > Do you mean: Public Sub Form_KeyPress() If Key.Code = Key.Esc Then Me.Close() End This has nothing to do with a Button you were mentioning in the question but honestly, I don't se

[Gambas-user] KeyPress Escape to close a form

2014-01-31 Thread abbat81
How to make an event for Key Press Escape button to close a form Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/KeyPress-Escape-to-close-a-form-tp45464.html Sent from the gambas-user mailing list archive at Nabble.com. -