Re: [Gambas-user] Maybe a bug in how Gambas manages open DB connections

2008-09-05 Thread Benoit Minisini
On vendredi 05 septembre 2008, Leonardo Miliani wrote: I would like to get your attention on what I think is a bug of how Gambas manages open DB connections. In a project of mine, I manage 2 connections to a MySQL DB. In a form of that project I open the first connection and get a result

Re: [Gambas-user] Bug or feature in Version 3.0 (snapshot a week ago)

2008-09-05 Thread Benoit Minisini
On vendredi 05 septembre 2008, [EMAIL PROTECTED] wrote: When I type: If(bla = x) then During compilation, I get the error: Not enough arguments to if() When I type: If (bla = x) then All went fine. The only difference between the two statements is the missing whitespace after If in the

[Gambas-user] Datacontrol field missing Password option?

2008-09-05 Thread Ron
Hi, Is it possible to let Datacontrol input act the same as a Textbox with Password option set to true? I need to edit a users table with datasource/databrowser, but password entry is readable as you type. Regards, Ron_2nd

Re: [Gambas-user] Datacontrol field missing Password option?

2008-09-05 Thread Benoit Minisini
On vendredi 05 septembre 2008, Ron wrote: Hi, Is it possible to let Datacontrol input act the same as a Textbox with Password option set to true? I need to edit a users table with datasource/databrowser, but password entry is readable as you type. Regards, Ron_2nd There is a trick:

Re: [Gambas-user] Listbox.List(x) error

2008-09-05 Thread Ron_1st
On Thursday 04 September 2008, Sevoir wrote: Hi All! I have a problem. I want get a Listbox item text value to a label.caption .. label.caption = ListBox.list(1) but I have an error message : Not a function What I mistaked? Regards, Sevoir If I make comething like

Re: [Gambas-user] Bug or feature in Version 3.0 (snapshot a week ago)

2008-09-05 Thread Doriano Blengino
Benoit Minisini ha scritto: On vendredi 05 septembre 2008, [EMAIL PROTECTED] wrote: When I type: If(bla = x) then During compilation, I get the error: Not enough arguments to if() When I type: If (bla = x) then All went fine. The only difference between the two statements is the

[Gambas-user] Multi threaded apps

2008-09-05 Thread Kari Laine
Hi, is it possible to make multi threaded apps with Gambas? I think not. Best Regards Kari Laine - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with

Re: [Gambas-user] Maybe a bug in how Gambas manages open DB connections

2008-09-05 Thread Leonardo Miliani
Benoit Minisini ha scritto: On vendredi 05 septembre 2008, Leonardo Miliani wrote: I would like to get your attention on what I think is a bug of how Gambas manages open DB connections. In a project of mine, I manage 2 connections to a MySQL DB. In a form of that project I open the first

Re: [Gambas-user] Maybe a bug in how Gambas manages open DB connections

2008-09-05 Thread Kari Laine
Ops I forgot the version: 2.8.1, but got the same error with previous versions 2.8 and, if I remember correctly, 2.7. Hi, with Gambas 2.7 I tested following and got no errors. Maybe you could post more complete program others could test with. ' Gambas class file PRIVATE Connessione AS

Re: [Gambas-user] Multi threaded apps

2008-09-05 Thread nando
I think multi-threaded would be wonderful and groundbreaking, but much work. Hypothetical example: PUBLIC SUB Button1_Click() NEW THREAD (Low Priority) DIM x AS INTEGER PRINT Button1.Thread 'this indicates which thread it is (1,2,3,4...) 'because clicking the

Re: [Gambas-user] Maybe a bug in how Gambas manages open DB connections

2008-09-05 Thread Kari Laine
Hi again, now I think I understand what the problem is - I did notice it straight away because I had only 1 record on both tables. I do not get any error from the Gambas but the Risultato.movefirst has no effect. It returns the record that was searched for in the first place in Risultato =

Re: [Gambas-user] Multi threaded apps

2008-09-05 Thread Pino Zollo
Alle 19:11, venerdì 5 settembre 2008, nando ha scritto: This thread would cease to exist when the SUB is completed. The main thread continues processing along side this one. The interpreter would have to switch running threads regularly. I guess that there should be many instances of the