I can recreate the problem like this: File > New project > QT Application or Graphical Application > right click on FMain.form and select Event > KeyPress, and add this code:
Public Sub Form_KeyPress()
Me.Text = Key.Code
End
And finally when I Run it and try to use the keyboard the KeyPress event doesn't get raised at all.
If I add a TextBox control I am able to input text to it. But even if I add this code Me.Text never changes:
Public Sub TextBox1_KeyPress()
Me.Text = Key.Code
End
Do you guys have any ideas what I could try next?
PS: I am using Gambas Stable 3.20.2