[Gambas-user] problem with Key.Code and form focus
Benoît Minisini
gambas at ...1...
Tue Dec 28 03:34:39 CET 2010
> On Fri, Dec 24, 2010 at 7:14 PM, zachsmith022 at ...626... wrote:
> > I'm having trouble having keypresses detected on a form. Sample code
> > attached.
>
> Can someone please test this?
> Any feedback would be appreciated.
>
Hey, it was Christmas. :-)
I confirm the problems:
- Windows with no borders are handled strangely with Qt4.
- When a control is hidden with gb.gtk, it keeps the focus, and the form don't
see the "a" key anymore.
Must investigate then...
Note: Don't use Quit in a GUI program. It stops the program somewhat brutally
without freeing eveything most of the time.
Regards,
--
Benoît Minisini
More information about the User
mailing list