[Gambas-user] Strange gb.qt5 error

Marco Ancillotti gambas at servinfo.it
Fri Jan 18 19:46:19 CET 2019


Hi ,

I have a keypress form code that run a Button_click when someone hit F1 
, somethink like:

Public Sub Form_KeyPress()
   If Key.Code = Key.F1 Then Try Button1_Click()
End

When I hit button with mouse everythink works well but when i press F1 I 
get:

gb.qt5: warning: calling the event loop during a keyboard event handler 
is ignored

and program hangs , no way to close , only stop button on ide stop it.

Any idea?

thank's in advance,

Marco.




More information about the User mailing list