Re: [Gambas-user] Two minor "bugs"

2009-03-04 Thread Rolf-Werner Eilert
Benoît Minisini schrieb: >> Hi everyone! >> >> When converting one of my apps from Gambas1 to Gambas2, I found 2 minor >> items: >> >> 1. The status of Tool Box Collection is not saved and always starts as >> "switched off" when starting the Gambas2 IDE. But maybe this is wanted? >> > > This bug i

Re: [Gambas-user] Two minor "bugs"

2009-03-04 Thread Rolf-Werner Eilert
Ron schrieb: > Ron_1st schreef: >> On Wednesday 04 March 2009, Benoît Minisini wrote: >> >> Enjoy it. :-) >> >> -- >> Benoît >> >> Thank you master of universe :) >> >> >> Best regards, >> >> Ron_1st >> > I bet Benoît's donkeys are called "patch", "fix", "bug" and "commit" > ;-) > > Regar

[Gambas-user] Nested Socket Write does not work

2009-03-04 Thread CARLOS GTR
Hi, I am working in chat program in Gambas that works with TCP sockets. The problem is that the clients that connect to the server need to receive the list of the contacts that are online (as any chat), The Server has the list but cant send it. This is the code: DIM y, x AS Integer FOR x = 0

[Gambas-user] GIS component

2009-03-04 Thread Jose J. Rodriguez
Has anybody worked on or thought about a mapping/GIS component for Gambas? There are several open source libraries about with the functionality, unfortunately, I have no clue when it comes to java or C/C++, lol. Regards, Joe1962

Re: [Gambas-user] Two minor "bugs"

2009-03-04 Thread Ron
Ron_1st schreef: > On Wednesday 04 March 2009, Benoît Minisini wrote: > > Enjoy it. :-) > > -- > Benoît > > Thank you master of universe :) > > > Best regards, > > Ron_1st > I bet Benoît's donkeys are called "patch", "fix", "bug" and "commit" ;-) Regards, Ron_2nd. --

Re: [Gambas-user] Two minor "bugs"

2009-03-04 Thread Ron_1st
On Wednesday 04 March 2009, Benoît Minisini wrote: > I (finally) created a new property in the GridView class (and so in its child > class TableView): GridView.AutoResize. > > When this property is not set, the last column is not automatically stretched > anymore. > > You get it in the revisio

Re: [Gambas-user] Reply: No EXEC Output but Works in Terminal

2009-03-04 Thread Doriano Blengino
Jussi Lahtinen ha scritto: ... Well, I have to be more precise. Sorry mr. Person to have been too concise. I understand that docs are not the best, but I did understand them with just a little effort, thanks to other knowledges you perhaps miss. And I made a mistake when speaking of WAIT in comb

Re: [Gambas-user] last instert ID in sqlite3

2009-03-04 Thread Ron_1st
On Wednesday 04 March 2009, Jaume Casado wrote: > Hi there. > > I'm looking for a function or method in the gb.db component to obtain the ID > of the last element inserted into the database. With the methods Create, > Edit y Find, we can run our Gambas app independently from the chosen engine > da

Re: [Gambas-user] [Help] Package created with autotools

2009-03-04 Thread Ron_1st
On Wednesday 04 March 2009, Achmad Arifin wrote: > I have gambas package created with autotools under ubuntu hardy, I want to > install it to zenwalk. When I run configure command, it shows an error: > - > root[tes-0.0

Re: [Gambas-user] Feature requests

2009-03-04 Thread Ron_1st
On Wednesday 04 March 2009, M0E Lnx wrote: > I'm not sure how to do this... > > THe progressbar only moves in one direction, and the .label property > is a boolean... > > Dont know how to change any of that. > > On Wed, Mar 4, 2009 at 11:09 AM, Benoît Minisini > wrote: > >> I have a couple of r

Re: [Gambas-user] Feature requests

2009-03-04 Thread M0E Lnx
? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut

Re: [Gambas-user] Feature requests

2009-03-04 Thread Ron_1st
On Wednesday 04 March 2009, M0E Lnx wrote: > I have a couple of requests for the gb.gtk component (and maybe even > the gb.qt as well) > > It's about progressbars. > I'd like to use a progressbar like alternating progressbar (like the > one used in the gparted windows while executing changes (top

Re: [Gambas-user] Reply: No EXEC Output but Works in Terminal

2009-03-04 Thread Ron_1st
On Wednesday 04 March 2009, Jussi Lahtinen wrote: > I tried your code... (first I did move test.sh to execution folder). > With me, this; > EXEC ["sh", Application.Path &/ "test.sh"] TO sOutPut > works well. > > But this; > EXEC ["sh " & Application.Path &/ "test.sh"] TO sOutPut > does NOT work (n

Re: [Gambas-user] Reply: No EXEC Output but Works in Terminal

2009-03-04 Thread Ron_1st
On Wednesday 04 March 2009, A Person wrote: > Good Day . . . > > Thank You all except the one that told me to read the EXEC docs. Despite I understand it a little it is not fair. Still he was right. > I read that many times and tried many variations including trying getting > INPUT > and OUTP

Re: [Gambas-user] Feature requests

2009-03-04 Thread M0E Lnx
I'm not sure how to do this... THe progressbar only moves in one direction, and the .label property is a boolean... Dont know how to change any of that. On Wed, Mar 4, 2009 at 11:09 AM, Benoît Minisini wrote: >> I have a couple of requests for the gb.gtk component (and maybe even >> the gb.qt a

Re: [Gambas-user] Two minor "bugs"

2009-03-04 Thread Benoît Minisini
> Hi everyone! > > When converting one of my apps from Gambas1 to Gambas2, I found 2 minor > items: > > 1. The status of Tool Box Collection is not saved and always starts as > "switched off" when starting the Gambas2 IDE. But maybe this is wanted? > This bug is now fixed in revision #1894 (for Ga

[Gambas-user] Custom mouse cursor

2009-03-04 Thread Jussi Lahtinen
Hi! Me.Mouse = Mouse.Cross Works fine, but I need custom cursor. Me.Mouse = Mouse.Custom Me.Cursor = Picture.Load("pic.png") This is not working, of course... class cursor has only two properties x, y. Where do I put the picture? Thanks! Jussi

Re: [Gambas-user] Feature requests

2009-03-04 Thread Benoît Minisini
> I have a couple of requests for the gb.gtk component (and maybe even > the gb.qt as well) > > It's about progressbars. > I'd like to use a progressbar like alternating progressbar (like the > one used in the gparted windows while executing changes (top one)) > alternates from left to right > I'd

Re: [Gambas-user] simple replace question

2009-03-04 Thread Benoît Minisini
> Bruce schrieb: > > On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote: > >> newString = Conv(st, "UTF-8", "ASCII") > >> > >> Replace(st, "½", ".5") > > > > Thanks RW, > > > > That got me started at least. > > > > So far: > > TRY wx = Conv(lp1[5], "UTF-8", "ASCII") > > TRY wx = Re

Re: [Gambas-user] simple replace question

2009-03-04 Thread Ron_1st
On Wednesday 04 March 2009, Rolf-Werner Eilert wrote: > Bruce schrieb: > > On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote: > >> newString = Conv(st, "UTF-8", "ASCII") > >> > >> Replace(st, "½", ".5") > > > > Thanks RW, > > > > That got me started at least. > > > > So far: > > TR

Re: [Gambas-user] Two little bugs in gambas3

2009-03-04 Thread Jussi Lahtinen
Hmmm why rechecking? Everything seems to work with my installation, so I assumed it is uncorrupted. I did send message about my compilation problems with outputs attached, but it was rejected as too big (> 256 kb). I forget to zip it... So again if necessary, the whole message: I tried to comp

Re: [Gambas-user] Two little bugs in gambas3

2009-03-04 Thread Jussi Lahtinen
Gambas 3 revision 1885. Jussi On Wed, Mar 4, 2009 at 5:42 PM, Benoît Minisini wrote: >> Hi! >> Two little bugs in Gambas3 IDE. >> >> 1. >> Missing "Each" command causes wrong error message (loop variable must be >> local); >> >> For SHmh In SHmhCollect >>  Should be something like "expected Ea

[Gambas-user] last instert ID in sqlite3

2009-03-04 Thread Jaume Casado
Hi there. I'm looking for a function or method in the gb.db component to obtain the ID of the last element inserted into the database. With the methods Create, Edit y Find, we can run our Gambas app independently from the chosen engine database. That's why I wanna know if there is any similar solu

Re: [Gambas-user] simple replace question

2009-03-04 Thread Rolf-Werner Eilert
Bruce schrieb: > On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote: >> newString = Conv(st, "UTF-8", "ASCII") >> >> Replace(st, "½", ".5") > > Thanks RW, > > That got me started at least. > > So far: > TRY wx = Conv(lp1[5], "UTF-8", "ASCII") > TRY wx = Replace(wx, "½", ".5") >

Re: [Gambas-user] simple replace question

2009-03-04 Thread Rolf-Werner Eilert
Bruce schrieb: > On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote: >> newString = Conv(st, "UTF-8", "ASCII") >> >> Replace(st, "½", ".5") > > Thanks RW, > > That got me started at least. > > So far: > TRY wx = Conv(lp1[5], "UTF-8", "ASCII") > TRY wx = Replace(wx, "½", ".5") >

Re: [Gambas-user] Reply: No EXEC Output but Works in Terminal

2009-03-04 Thread Jussi Lahtinen
I tried your code... (first I did move test.sh to execution folder). With me, this; EXEC ["sh", Application.Path &/ "test.sh"] TO sOutPut works well. But this; EXEC ["sh " & Application.Path &/ "test.sh"] TO sOutPut does NOT work (no output). So EXEC command is pretty picky. Benoit, comments? Als

Re: [Gambas-user] XMLRpc maybe a Bug

2009-03-04 Thread Benoît Minisini
> Peter Lang wrote: > > Hi, > > > > After investigating the Source of xmlrpc i thought i know how to use > > it... Everything work so far, but the last Step does not work. > > The line: myStruc.Value(a) has to return the result, but instead of > > giving back an int i get an RpcStruct again and ag

Re: [Gambas-user] Two little bugs in gambas3

2009-03-04 Thread Benoît Minisini
> Hi! > Two little bugs in Gambas3 IDE. > > 1. > Missing "Each" command causes wrong error message (loop variable must be > local); > > For SHmh In SHmhCollect > Should be something like "expected Each or TO". > > > 2. > Renaming non empty sub folder causes mouse pointer to show wait icon for > ev

[Gambas-user] [Help] Package created with autotools

2009-03-04 Thread Achmad Arifin
I have gambas package created with autotools under ubuntu hardy, I want to install it to zenwalk. When I run configure command, it shows an error: - root[tes-0.0]# ./configure checking for a BSD-compatible install...

[Gambas-user] Feature requests

2009-03-04 Thread M0E Lnx
I have a couple of requests for the gb.gtk component (and maybe even the gb.qt as well) It's about progressbars. I'd like to use a progressbar like alternating progressbar (like the one used in the gparted windows while executing changes (top one)) alternates from left to right I'd like to be able

[Gambas-user] Reply: No EXEC Output but Works in Terminal

2009-03-04 Thread A Person
Good Day . . . Thank You all except the one that told me to read the EXEC docs. I read that many times and tried many variations including trying getting INPUT and OUTPUT to work. But nothing worked. The one problem that I have with Gambas is that the docs are not adequate to a novice user. I t

Re: [Gambas-user] simple replace question

2009-03-04 Thread Bruce
On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote: > newString = Conv(st, "UTF-8", "ASCII") > > Replace(st, "½", ".5") Thanks RW, That got me started at least. So far: TRY wx = Conv(lp1[5], "UTF-8", "ASCII") TRY wx = Replace(wx, "½", ".5") TRY wx = Replace(wx, "¼", ".25")

Re: [Gambas-user] simple replace question

2009-03-04 Thread Rolf-Werner Eilert
Bruce schrieb: > On Wednesday 04 March 2009 23:00:00 Stefano Palmeri wrote: > >> Strange. replace(st,"½",".5") works on my system. >> >> Gambas 2.11.1 >> >> Saluti, >> >> Stefano > > Damn! And I still can't get it working. The only thing I've been able to > decipher is that Len(st)=4 not 3. U

Re: [Gambas-user] simple replace question

2009-03-04 Thread Bruce
On Wednesday 04 March 2009 23:00:00 Stefano Palmeri wrote: > Strange. replace(st,"½",".5") works on my system. > > Gambas 2.11.1 > > Saluti, > > Stefano Damn! And I still can't get it working. The only thing I've been able to decipher is that Len(st)=4 not 3. Using gambas 2.9.?? as its the la

Re: [Gambas-user] simple replace question

2009-03-04 Thread Emil Tchekov
Is your string UTF encoded? You should check if your character code is exactly 194 and not wider... 16 Bits perhaps? Any Hex-Viewer will help. regards Emil On Wednesday 04 March 2009 11:55:44 Bruce wrote: > Hi guys, > > I'm trying to convert a string to float. The string contents are "56½". >

Re: [Gambas-user] simple replace question

2009-03-04 Thread Stefano Palmeri
Il mercoledì 4 marzo 2009 11:55:44 Bruce ha scritto: > Hi guys, > > I'm trying to convert a string to float. The string contents are "56½". > I've tried both > > replace(st,"½",".5") and > replace(st, Chr$(194), ".5 ") > > neither helps. > > Any ideas? > > tia > ted > Strange. replace(st,"½",".5"

[Gambas-user] simple replace question

2009-03-04 Thread Bruce
Hi guys, I'm trying to convert a string to float. The string contents are "56½". I've tried both replace(st,"½",".5") and replace(st, Chr$(194), ".5 ") neither helps. Any ideas? tia ted -- Open Source Business Conf

Re: [Gambas-user] No EXEC Output but Works in Terminal

2009-03-04 Thread Benoît Minisini
> A Person wrote: > > Good Day . . . > > > > I am using Gambas 2.8.2-1ubuntu1. > > > > I wrote a program that randomly displays a line from a text file. The > > code worked in pure Gambas but then I tried to improve it! (Ho Ho Ho) > > > > I searched around and I came up with and modified an executa