Re: [Gambas-user] problem with Key.Code and form focus

2010-12-28 Thread Benoît Minisini
> I'm having trouble having keypresses detected on a form. Sample code > attached. > > qt > FMain.border=true > Works - "a" keypress hides button, next "a" keypress makes button > visible > FMain.border=false > Fails - form can't receive focus > > GTK+ > FMain.border=true > Fails - "a

Re: [Gambas-user] problem with Key.Code and form focus

2010-12-27 Thread Benoît Minisini
> On Fri, Dec 24, 2010 at 7:14 PM, zachsmith...@gmail.com 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

Re: [Gambas-user] problem with Key.Code and form focus

2010-12-27 Thread Zach Smith
On Fri, Dec 24, 2010 at 7:14 PM, zachsmith...@gmail.com wrote: > I'm having trouble having keypresses detected on a form. Sample code > attached. > Can someone please test this? Any feedback would be appreciated. -- Learn

[Gambas-user] problem with Key.Code and form focus

2010-12-24 Thread zachsmith...@gmail.com
I'm having trouble having keypresses detected on a form. Sample code attached. qt FMain.border=true Works - "a" keypress hides button, next "a" keypress makes button visible FMain.border=false Fails - form can't receive focus GTK+ FMain.border=true Fails - "a" keypress hides button1,