Re: [Gambas-user] BUG Install on mandriva

2010-07-26 Thread Doriano Blengino
Doriano Blengino ha scritto: > > This leads to my last question: how can I download a local copy of the > wiki? I tried two or three times with wget, but the result is unuseable. > Forget it - I finally got what I need. May be that in the help, about pointers (url: /help/lang/type/pointer), i

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] Error compiling gambas3 on Ubuntu 10.04

2010-07-26 Thread Leandro Santiago
Thx, Now it compiles. 2010/7/26 Benoît Minisini : >> Hello to all. In last revisions I can't anymore compile gambas in my >> ubuntu 10.04 32-bit (gcc 4.4.3). >> I'm using svn rev 3071 and I did ./reconf; configure and make clean. >> The last lines of make output: >> >> gcc -DHAVE_CONFIG_H -I. -I..

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] How to make strings translatable

2010-07-26 Thread Matti
Thanks! Now I understand it. Matti Am 26.07.2010 22:31, schrieb Benoît Minisini: >> Hi List, >> >> I don't understand this: >> If I have a string like >> IF Message.Warning("The file " & aFiles[i] & " will be deleted.", "OK", >> "Cancel") = 2 THEN RETURN >> How should I mark it to be translated?

Re: [Gambas-user] How to make strings translatable

2010-07-26 Thread Benoît Minisini
> Hi List, > > I don't understand this: > If I have a string like > IF Message.Warning("The file " & aFiles[i] & " will be deleted.", "OK", > "Cancel") = 2 THEN RETURN > How should I mark it to be translated? > If I use > IF Message.Warning(("The file ") & aFiles[i] & (" will be deleted."), "OK",

[Gambas-user] How to make strings translatable

2010-07-26 Thread Matti
Hi List, I don't understand this: If I have a string like IF Message.Warning("The file " & aFiles[i] & " will be deleted.", "OK", "Cancel") = 2 THEN RETURN How should I mark it to be translated? If I use IF Message.Warning(("The file ") & aFiles[i] & (" will be deleted."), "OK", ("Cancel")) = 2 TH

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] Bug in Gambas2 packager

2010-07-26 Thread EA7DFH
El 31/05/10 18:29, EA7DFH escribió: > > I filled this bug to launchpad. For those who are affected, please take > a moment to add your own comment or subscribe on this bug. Perhaps we > should make more "pressure", ;-) > > https://bugs.launchpad.net/ubuntu/+source/gambas2/+bug/587957 > > Regards, >

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

Re: [Gambas-user] Error compiling gambas3 on Ubuntu 10.04

2010-07-26 Thread Benoît Minisini
> Hello to all. In last revisions I can't anymore compile gambas in my > ubuntu 10.04 32-bit (gcc 4.4.3). > I'm using svn rev 3071 and I did ./reconf; configure and make clean. > The last lines of make output: > > gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/opt/gambas3/bin\"" > -pipe -Wall -

[Gambas-user] Error compiling gambas3 on Ubuntu 10.04

2010-07-26 Thread Leandro Santiago
Hello to all. In last revisions I can't anymore compile gambas in my ubuntu 10.04 32-bit (gcc 4.4.3). I'm using svn rev 3071 and I did ./reconf; configure and make clean. The last lines of make output: gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/opt/gambas3/bin\"" -pipe -Wall -Wno-unused-val

Re: [Gambas-user] BUG Install on mandriva

2010-07-26 Thread Doriano Blengino
Benoît Minisini ha scritto: >>> VarPtr() must be used when a C-function argument is actually a pointer to >>> a variable that will be modified by the called function. >>> >> I disagree for two or three reasons. First, an external declaration >> already implies that the declaration refers to

Re: [Gambas-user] BUG Install on mandriva

2010-07-26 Thread Benoît Minisini
> > VarPtr() must be used when a C-function argument is actually a pointer to > > a variable that will be modified by the called function. > > I disagree for two or three reasons. First, an external declaration > already implies that the declaration refers to something extraneous to > gambas, wher