Re: [Gambas-user] First look at Gambas 3

2010-12-04 Thread Benoît Minisini
> Hi Benoit, > Sorry to bother you again. I have installed QtConfig and found I could > change my default 'Background' color, which I did to HD3DFEB. This then > appeared in my Gambas3 color dialog but the behaviour is very different > with QT4 and GTK components. This explains my earlier problem w

Re: [Gambas-user] First look at Gambas 3

2010-12-04 Thread Michael
Hi Benoit, Sorry to bother you again. I have installed QtConfig and found I could change my default 'Background' color, which I did to HD3DFEB. This then appeared in my Gambas3 color dialog but the behaviour is very different with QT4 and GTK components. This explains my earlier problem with di

Re: [Gambas-user] BUG: Problem with DateAdd function

2010-12-04 Thread Benoît Minisini
> > But then why am I getting the 'invalid date' error in 2.22? And more > importantly, what do I need to do to correct it? > That is the question! Check first that you really have Gambas 2.22 installed, and that you run it. To do that, run "gbx2 -V" in a terminal. You will get the interprete

Re: [Gambas-user] BUG: Problem with DateAdd function

2010-12-04 Thread George
2010/12/4 Benoît Minisini : >> > >> > Gambas 2.19/64 Suse11.3 locale Hong Kong: >> > >> > PRINT DateAdd(CDate("2/13/2010"), gb.month, -36) >> > PRINT DateAdd(CDate("3/28/2010"), gb.month, -37) >> > PRINT DateAdd(CDate("4/13/2010"), gb.month, -38) >> > produces >> > 13/02/07 >> > 28/02/07 >> > 13/02

Re: [Gambas-user] BUG: Problem with DateAdd function

2010-12-04 Thread Benoît Minisini
> > > > Gambas 2.19/64 Suse11.3 locale Hong Kong: > > > > PRINT DateAdd(CDate("2/13/2010"), gb.month, -36) > > PRINT DateAdd(CDate("3/28/2010"), gb.month, -37) > > PRINT DateAdd(CDate("4/13/2010"), gb.month, -38) > > produces > > 13/02/07 > > 28/02/07 > > 13/02/07 > > > > whereas > > PRINT DateA

Re: [Gambas-user] BUG: Problem with DateAdd function

2010-12-04 Thread Werner
On 05/12/10 01:08, Werner wrote: > On 05/12/10 00:37, Benoît Minisini wrote: > >>> 2010/2/13 Benoît Minisini : >>> >>> > I've run into a strange problem with the DateAdd function, when trying > to subtract from the current date by months. > > I initially hit the probl

Re: [Gambas-user] BUG: Problem with DateAdd function

2010-12-04 Thread Werner
On 05/12/10 00:37, Benoît Minisini wrote: >> 2010/2/13 Benoît Minisini : >> I've run into a strange problem with the DateAdd function, when trying to subtract from the current date by months. I initially hit the problem with the following (values are hard-coded for cla

Re: [Gambas-user] BUG: Problem with DateAdd function

2010-12-04 Thread Benoît Minisini
> 2010/2/13 Benoît Minisini : > >> I've run into a strange problem with the DateAdd function, when trying > >> to subtract from the current date by months. > >> > >> I initially hit the problem with the following (values are hard-coded > >> for clarity): > >> DateAdd(cdate("2/13/2010"),gb.month,-3

Re: [Gambas-user] BUG: Problem with DateAdd function

2010-12-04 Thread George
2010/2/13 Benoît Minisini : >> I've run into a strange problem with the DateAdd function, when trying >> to subtract from the current date by months. >> >> I initially hit the problem with the following (values are hard-coded >> for clarity): >> DateAdd(cdate("2/13/2010"),gb.month,-37) >> >> It see

Re: [Gambas-user] First look at Gambas 3

2010-12-04 Thread Benoît Minisini
> Benoit, > The output from Valgrind is attached. I added the leak-check option to > give you more information. Thanks, but there is no memory access error reported in your valgrind log. Can you check that you ran it in the same context? > The application was just automatically > generated by G

Re: [Gambas-user] Gambas3 Printing

2010-12-04 Thread Benoît Minisini
> Hi Fabien, > I've got printing to work ok but positioning objects on the page is > difficult compared to Gambas2. The Paint.Width and Paint.Height values > seem to bear no relation to pixels or mm. On A4 paper I get values of > 559 and 760 approx. What units are used here? (My printer resolution

Re: [Gambas-user] Gambas3 Printing

2010-12-04 Thread Michael
Hi Fabien, I've got printing to work ok but positioning objects on the page is difficult compared to Gambas2. The Paint.Width and Paint.Height values seem to bear no relation to pixels or mm. On A4 paper I get values of 559 and 760 approx. What units are used here? (My printer resolution is 300)

[Gambas-user] Socket Server Example: CPU Usage Question

2010-12-04 Thread nando
Folks, I'm writing a Socket Server application. When I use the Server Example and Telnet in (local machine) I see CPU usage raise to 35% and stay there even with no activity. I use TOP at 1 second to see CPU usage. I'd like to know if others experience the same fairly high CPU use? -Fernando

[Gambas-user] GB3, Paint.CurveTo

2010-12-04 Thread wally
Hello, i want to paint a graph from numerical data using CurveTo. CurveTo expects 3 points (p1,p2,p3) where p1 == (x1,y1) If i want to advance in curve plotting i have to add a p4,p5,...pn. Do i need always to provide the additional point by repeating the recently added 2 points or is there a smar