[Gambas-user] Escape key while writing in a TextArea

Jack jscops at ...11...
Mon Dec 16 16:36:46 CET 2013


Le 16/12/2013 16:10, Pino Zollo a écrit :
> I need to process the Esc key while writing into a TexArea to abort a
> transmission..
>
>
> For some weird reason the Esc key is ignored by the TextArea...
>
Bonjour,


Have you try the "esc" or "escape" code ?

If Key.code = Key.Esc or If Key.code = Key.Escape then
print "ok"
endif


-- 
Cordialement

Jacky Tripoteau




More information about the User mailing list