Re: [Gambas-user] 2-2.21.0: CheckBox_Click event raises twice on mouseclick, once on space bar

2010-07-26 Thread richard terry
On Tuesday 27 July 2010 09:16:23 kevinfishburne wrote: Kevin, I've found this is a problem with gambas/qt, I've many many many dozens of forms in my project (lost count), some of which pull quite a bit of data from a postgresql backend. As a work-a-round suggested by someone else on the list -

Re: [Gambas-user] 2-2.21.0: CheckBox_Click event raises twice on mouseclick, once on space bar

2010-07-26 Thread kevinfishburne
Benoît Minisini wrote: > > You enter the event loop once the Main() function is finished. Why do you > want > to display a form before? It's weird too! > I want the form to display as soon as the program is run, basically. I have the Form_Open procedure immediately execute several procedures

Re: [Gambas-user] 2-2.21.0: CheckBox_Click event raises twice on mouseclick, once on space bar

2010-07-26 Thread Benoît Minisini
> Benoît Minisini wrote: > > OK, this is fixed in revision 3073. I think I should make a 2.21.1 > > soon... It's funny how people always find boring bugs *just* after the > > release. > > > > :-) > > Yeah, I only compiled the newest release yesterday, even after reading the > changelog, hoping th

Re: [Gambas-user] 2-2.21.0: CheckBox_Click event raises twice on mouseclick, once on space bar

2010-07-26 Thread kevinfishburne
Benoît Minisini wrote: > > OK, this is fixed in revision 3073. I think I should make a 2.21.1 soon... > It's funny how people always find boring bugs *just* after the release. > :-) > Yeah, I only compiled the newest release yesterday, even after reading the changelog, hoping the issue had be

Re: [Gambas-user] 2-2.21.0: CheckBox_Click event raises twice on mouseclick, once on space bar

2010-07-26 Thread Benoît Minisini
> Benoît Minisini wrote: > > Thanks. That's weird! > > No problem. Glad to be able to help with a bugfix. I hate bugs. ;) > > Not really related to the post, but great work on the new 2.x release and > I'm looking forward to the first stable 3x release. > > - > Kevin Fishburne, Eight Virtues

Re: [Gambas-user] 2-2.21.0: CheckBox_Click event raises twice on mouseclick, once on space bar

2010-07-26 Thread kevinfishburne
Benoît Minisini wrote: > > Thanks. That's weird! > No problem. Glad to be able to help with a bugfix. I hate bugs. ;) Not really related to the post, but great work on the new 2.x release and I'm looking forward to the first stable 3x release. - Kevin Fishburne, Eight Virtues www: http:/

Re: [Gambas-user] 2-2.21.0: CheckBox_Click event raises twice on mouseclick, once on space bar

2010-07-26 Thread Benoît Minisini
> Benoît Minisini wrote: > > Please provide your project, or make a little project that reproduces the > > problem. And tell me if you use GTK+ or QT. > > http://old.nabble.com/file/p29269448/Test.tar.bz2 Test.tar.bz2 > > I tried it with both GTK and QT and the problem only occurs in GTK. For the

Re: [Gambas-user] 2-2.21.0: CheckBox_Click event raises twice on mouseclick, once on space bar

2010-07-26 Thread kevinfishburne
Benoît Minisini wrote: > > Please provide your project, or make a little project that reproduces the > problem. And tell me if you use GTK+ or QT. > http://old.nabble.com/file/p29269448/Test.tar.bz2 Test.tar.bz2 I tried it with both GTK and QT and the problem only occurs in GTK. For the time

Re: [Gambas-user] 2-2.21.0: CheckBox_Click event raises twice on mouseclick, once on space bar

2010-07-26 Thread Benoît Minisini
> I have a checkbox control. I'd like it to call a subroutine whenever it's > checked or unchecked. The code looks like this: > > PUBLIC SUB CheckBox_Preview_Water_Click() > > Preview.Refresh > > END > > The control and event are on the main form. "Preview" is a module and > "Refresh" is the

[Gambas-user] 2-2.21.0: CheckBox_Click event raises twice on mouseclick, once on space bar

2010-07-25 Thread kevinfishburne
I have a checkbox control. I'd like it to call a subroutine whenever it's checked or unchecked. The code looks like this: PUBLIC SUB CheckBox_Preview_Water_Click() Preview.Refresh END The control and event are on the main form. "Preview" is a module and "Refresh" is the procedure name in it.