Re: [Gambas-user] Format$ with different LANG

2009-06-25 Thread Doriano Blengino
Benoît Minisini ha scritto: For LANG=POSIX ? Format$(Val(14555888) / 1000, #,###.000) 14,555.888 ...this is OK LANG=es_ES.utf8 and for LANG=it_IT.utf8 ? Format$(Val(14555888) / 1000, #,###.000) 14 555,888 There is a space where should be a . but I can cope with it For

Re: [Gambas-user] RE: Gambas-user Digest, Vol 37 , Issue 42

2009-06-25 Thread Steven James Drinnan
Part one loading multiple text boxes. there is no simple way but there is this you can go through all the controls of a form and see if is a text box. Example: You need one form, create 10 text boxes and one button rename the text boxes to txt01 txt02 . txt10 this is important so the

[Gambas-user] rotating point

2009-06-25 Thread juelin
hi, I use Gambas 2.12 (at this version draw.rotate does not work) I want to rotate a market area (Top=207, Left=207, High=110, Width=110) in a drawingarea (High=512, Width=512) image1 = Drawingarea.Grab().Image image2 = image1.Copy(Top, Left, Width, High) from market area

[Gambas-user] Bug in package creator?

2009-06-25 Thread Leonardo Miliani
An user of my site notified me that he could have found a bug in the Gambas package creator. When he uses the gb.db.sqlite component and creates a .Deb package of his application, that component is not considered as a dependency, so when he installs his application on a different system, the

Re: [Gambas-user] Bug in package creator?

2009-06-25 Thread Benoît Minisini
An user of my site notified me that he could have found a bug in the Gambas package creator. When he uses the gb.db.sqlite component and creates a .Deb package of his application, that component is not considered as a dependency, so when he installs his application on a different system, the

[Gambas-user] datasource filter

2009-06-25 Thread Nando
Hello, how can i set the filter property of a datasource for 2 fields. Example: filter where id =value and npricedat id and nprice are fields, and value and dat are variables I can filter one of them but not them together Thank you an d sorry for my little english

Re: [Gambas-user] 2040 build gui observations

2009-06-25 Thread Benoît Minisini
I presume this is the new qt4 IDE. Must say this sucks a bit - very indistinct. I find it visually hard to ascertain which tab is the current one I'm working on as there is no clear difference. also, down the bottom in the search in sub, file, project buttons, they are very indistinct and

Re: [Gambas-user] IDE Improvement Suggestion

2009-06-25 Thread Benoît Minisini
I'm always harping on about the difficulty of accessing forms on the side tree when one has many many dozens of forms, takees to scroll down and for your eye to locate them, then have to either click or ctrl_click to load. Suggestion: Emulate a firefox folder bookmark button on the IDE bar,

Re: [Gambas-user] Format$ with different LANG

2009-06-25 Thread Ricardo Díaz Martín
I confirm I'm have got the same problem in Spanish configuration. For decimals we use , (coma) and gambas returns , (coma - it's ok) but for milliar we use . (point) and gambas returns (blank). All the rest of locale data (date, time and currency are fine) I'm working with ubuntu 9.04x86_64 and

Re: [Gambas-user] IDE Improvement Suggestion

2009-06-25 Thread Ron_1st
On Thursday 25 June 2009, Benoît Minisini wrote: I'm always harping on about the difficulty of accessing forms on the side tree when one has many many dozens of forms, takees to scroll down and for your eye to locate them, then have to either click or ctrl_click to load. Suggestion:

Re: [Gambas-user] IDE Improvement Suggestion

2009-06-25 Thread Benoît Minisini
On Thursday 25 June 2009, Benoît Minisini wrote: I'm always harping on about the difficulty of accessing forms on the side tree when one has many many dozens of forms, takees to scroll down and for your eye to locate them, then have to either click or ctrl_click to load.

Re: [Gambas-user] rotating point

2009-06-25 Thread Juergen Linder
Hi, thank you for answering of my question. enclosed is the source you want as attachment. hope you have a solution. PS: I'm writting a program for making lasershow under linux thank you and kind regards Jürgen Original-Nachricht Datum: Thu, 25 Jun 2009 16:47:53 +0200 Von:

Re: [Gambas-user] rotating point

2009-06-25 Thread Benoît Minisini
Hi, thank you for answering of my question. enclosed is the source you want as attachment. hope you have a solution. PS: I'm writting a program for making lasershow under linux thank you and kind regards Jürgen First, you must not use DrawingArea.Grab(), because it is very slow, and

Re: [Gambas-user] datasource filter

2009-06-25 Thread Benoît Minisini
Hello, how can i set the filter property of a datasource for 2 fields. Example: filter where id =value and npricedat id and nprice are fields, and value and dat are variables I can filter one of them but not them together Thank you an d sorry for my little english You can do

[Gambas-user] Blob management

2009-06-25 Thread David Villalobos Cambronero
Hi, is there a problem with this instuction? hResultado = $hConn.Exec(SELECT Pic FROM Pics) File.Save(/tmp/1.jpg, hResultado[Pic].Data) I can't get them work! Regards -- David --

Re: [Gambas-user] Blob management

2009-06-25 Thread Benoît Minisini
Hi, is there a problem with this instuction? hResultado = $hConn.Exec(SELECT Pic FROM Pics) File.Save(/tmp/1.jpg, hResultado[Pic].Data) I can't get them work! Regards -- David Can you give more details? (versions, database driver)... Does the PictureDatabase example work? --

Re: [Gambas-user] Blob management

2009-06-25 Thread David Villalobos Cambronero
Forgot to add more details. And yes, the example works fine but I don't get it to work in my app. Here is the senario: I got a table with a picture (just a record) and I want to save it to the disk, (PictureDatabase does it by the PictureBox not directly). Driver: mysql, Mandriva 2009.1 32

[Gambas-user] The define style of many element string array

2009-06-25 Thread Swee Kwang Tan
Dear Sir, Thank you for your reading. I have a string array, there is many element string. like this dim ss as string[] = [jkl, 9080|, jim, ren, mu8, vcnm, m83d, m09nc, n83f, iiop', qiop..] a longl long line, it have 65 sub-string. How do I write it smart ? If someone type error or change

Re: [Gambas-user] Bug in package creator?

2009-06-25 Thread Benoît Minisini
An user of my site notified me that he could have found a bug in the Gambas package creator. When he uses the gb.db.sqlite component and creates a .Deb package of his application, that component is not considered as a dependency, so when he installs his application on a different system,

[Gambas-user] Feature request

2009-06-25 Thread Steven James Drinnan
Hi, In relation to RPM creation in Gambas. Is there a way of adding other dependencies. Say for example I have a program that needs the program 'barcode' to run it would be good to manually add that requirement to the package when creating a package. Just a thought Steven

Re: [Gambas-user] The define style of many element string array

2009-06-25 Thread Simonart Dominique
Steven James Drinnan a écrit : As far as I know just one by one. Write one line by one line. ss[0] = jkl ss[1] = 9080| ss[2] = jim ss[3] = ren ss[4] = mu8 I may be wrong and others can give there 2 cents worth. Steven On Thu, 2009-06-25 at 15:40 -0700, Swee Kwang Tan wrote:

Re: [Gambas-user] Format$ with different LANG

2009-06-25 Thread Doriano Blengino
Ricardo Díaz Martín ha scritto: I confirm I'm have got the same problem in Spanish configuration. For decimals we use , (coma) and gambas returns , (coma - it's ok) but for milliar we use . (point) and gambas returns (blank). All the rest of locale data (date, time and currency are fine)