Hi Tobias
Fabien is correct in saying it's a kind of library.
For Gambas2 in my Ubuntu installation, the following libraries are
automatically installed along with Gambas2:
gambas2-gb-db
gambas2-gb-db-postgresql
gambas2-gb-db-firebird
gambas2-gb-db-mysql
gambas2-gb-db-form
gambas2-gb-db-odbc
gam
Sorry, I don't understand.
How can I "implement the event handler"?
Confused
Matti
Am 13.09.2010 00:14, schrieb Benoît Minisini:
>> But, what is the benefit of Enabled = False then?
>> If the control or window is only partly disabled, and the user can do a lot
>> of things with it?
>
> The user s
> But, what is the benefit of Enabled = False then?
> If the control or window is only partly disabled, and the user can do a lot
> of things with it?
The user should not be able to do anything with it. You decide, as you
implement the event handler.
Native events are low level, lower than the E
just remove the .conf file in ~/.config/gambas3
2010/9/12 Matti :
> I mean the internal console window at the bottom of the IDE. It had vanished
> here since I don't know what svn-update.
> The messages were about silly errors in my project...
>
> Forget it - if the window should be there by defa
But, what is the benefit of Enabled = False then?
If the control or window is only partly disabled, and the user can do a lot of
things with it?
Is there no property or method to "really" disable and don't allow the user to
do something?
Am 12.09.2010 22:15, schrieb Benoît Minisini:
> Yes, it is
> Gambas 3
> Trying to show a modal window that has to be closed before other windows
> can do anything.
> "Fxy.ShowModal" is not useable, because the form should be placed somewhere
> and not be centered relative to the desktop (why is a modal window
> centered and can't be moved?)
Because modal
I mean the internal console window at the bottom of the IDE. It had vanished
here since I don't know what svn-update.
The messages were about silly errors in my project...
Forget it - if the window should be there by default, it's ok. I will keep an
eye on it and tell you more in case it's not sho
2010/9/12 tobias :
> hi,
>
>> It's a kind of lbrary ... you select gb.db in thecomponents.
>>
>>
>> then
>>
>> private hcon as new connection
>>
>>
>> Publc sub Main()
>>
>> hCon.type = "sqlite3"
>> hCon.Host=user.home &/ "dbpath"
>> hcon.Name = "mydatabase"
>> hcon.open
>>
>> end
>>
>
> ye
hi,
> It's a kind of lbrary ... you select gb.db in thecomponents.
>
>
> then
>
> private hcon as new connection
>
>
> Publc sub Main()
>
> hCon.type = "sqlite3"
> hCon.Host=user.home &/ "dbpath"
> hcon.Name = "mydatabase"
> hcon.open
>
> end
>
yeah, so this 'kind of library' it l
It's a kind of lbrary ... you select gb.db in thecomponents.
then
private hcon as new connection
Publc sub Main()
hCon.type = "sqlite3"
hCon.Host=user.home &/ "dbpath"
hcon.Name = "mydatabase"
hcon.open
end
2010/9/12 tobias :
> hi,
>
> another question about the databases and gambas
hi,
another question about the databases and gambas to the developers:
how do i have to imagine exactly the interaction between the (sqlite)
driver and my gambas program? what exactly is this 'driver'? is it just
a kind of library? (sorry, i'm not so good at this level and i never had
to do any
-Mensaje original-
De: Benoît Minisini
Reply-to: mailing list for gambas users
Para: mailing list for gambas users
Asunto: Re: [Gambas-user] Testing component GB.INFO
Fecha: Sun, 12 Sep 2010 11:33:01 +0200
> [GB.INFO]
>
> Testing in Gambas3 Rev 3206 and Gambas 2.21.
> SO: Ubuntu 9.10 i
-Mensaje original-
De: Benoît Minisini
Reply-to: mailing list for gambas users
Para: mailing list for gambas users
Asunto: Re: [Gambas-user] Gambas compile with option -static
Fecha: Sun, 12 Sep 2010 11:57:03 +0200
> Hi.
>
> There is the possibility to compile the executable gbx2 with
hi,
> The biggest help for him will be to read a sql book :)... it was for
> me the only way to quit the M$ ADO in the past. But gb.db and result
> is suffisely powerfull to manage most part of the db capabilities in a
> first time . Then he can learn sql do to more.
>
>
> All depend of the proj
Hi Benoît
> But I don't think I can change the interface anymore, it will break a lot
> of code. Unless someone finds an unexpected solution.
What about a property, which indicate how the result should be delivered. For
example in PHP Database Objects you can give a value that says how the data
Have you screenshot ? and what about kind of console do you talk...
the internal one (witch is alway present in the tab at the bottom of
the ide) or the external one witch can be actived via the options .?.
What are the stranges messages ?
what is your distro/desktop ?
Le 12 septembre 2010 11:5
> Wouldn't it be a good idea to show the console by default?
> 1. I had some difficulties to find out how it could be shown
> 2. I was surprised about the messages in it...
> Regards
> Matti
>
What do you mean "by default" and "I was surprised"?. The console is always
there. It is automatically
> Hi.
>
> There is the possibility to compile the executable gbx2 with option
> -static.
>
> Regards.
>
> Cristian Abarzúa F
>
Are you sure? Do you have more details?
--
Benoît Minisini
--
Start uncovering the many
> the next question.
> i got a result from a database with some records predefined (fields are
> id (serial) and name (string)):
>
> hResult = hConnection.Exec("select * from test")
>
> in a for loop i go through all the records by doing:
>
> FOR iCount = 0 TO hResult.Count - 1 STEP 1
> hResul
The biggest help for him will be to read a sql book :)... it was for
me the only way to quit the M$ ADO in the past. But gb.db and result
is suffisely powerfull to manage most part of the db capabilities in a
first time . Then he can learn sql do to more.
All depend of the project ... for a littl
> [GB.INFO]
>
> Testing in Gambas3 Rev 3206 and Gambas 2.21.
> SO: Ubuntu 9.10 i386
>
> * Create proyect GTK.
> * Add Control Listview
> * Add three controls Button.
> * Add Class Class1
> * Add two forms.
>
>
> * Code in Button1:
>
> Dim x As Byte
>
> For x = 0 To Info.Classes.Count - 1
Hi Tobias
I can understand your frustration, programming with databases is not so
simple in the beginning and there are some new concepts to get your head
around. I think the Result object is quite often misunderstood and
people often ask:
"Why can't the SQL stuff return something simple I can u
22 matches
Mail list logo