> 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, subsequent "a" keypresses do > nothing Works - if Quit button has focus > FMain.border=false > Fails - "a" keypress hides button1, subsequent "a" keypresses do > nothing Works - if Quit button has focus > > It seems that Key.Code won't work at all unless a control is visible > and/or has focus on the form - except for qt when the form has a border. > > > gambas 3 > xfce > qt 4.7.1 > gtk 1.2.10
OK, things should be better with revision #3405. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user