hi to all,
i downloaded the latest svn and i see that the checkconfig fails when
try to install examples.
i get
---
Making install in examples
make[1]: Entering directory
`/home/user/Downloads/Gambas/gambas3-svn4454/examples'
make[2]: Entering directory
On Mon, 2012-02-06 at 00:14 -0800, abbat wrote:
but it not work
sigh
Can you at least tell us the error message you got? Why do we have to
try to GUESS why it's not working?
--
Try before you buy = See our experts
Here's some working code...
conn = DataAccess.getConnection()
conn.Exec(delete from UTI001 where CLEF = 1, Caveat)
conn.Exec(insert into UTI001 (CLEF, Langue, Backup) VALUES (1, 2,
3), Caveat, EN, C:\\Temp)
rSet = conn.Exec(select * from UTI001 where CLEF = 1, Caveat)
If rSet Not Null
On Mon, 2012-02-06 at 09:21 +0100, Caveat wrote:
On Mon, 2012-02-06 at 00:14 -0800, abbat wrote:
but it not work
sigh
Can you at least tell us the error message you got? Why do we have to
try to GUESS why it's not working?
Yes. At the very least PRINT the Exec string you are
Try this:
sql = INSERT INTO statistic (TimeCode, SessionStart, SessionEnd, Kluch,
Comp) VALUES (1,2,3,4,5)
MODMain.$Con.Subst(sql, T, Now(), Now(), kluch, Nc)
MODMain.$Con.Exec(sql)
2012/2/6 Caveat gam...@caveat.demon.co.uk
On Mon, 2012-02-06 at 00:14 -0800, abbat wrote:
but it not work
The string not finished! Gambas do not cut string. Print in one string.
Gambas не дает разрывать строки как VB. Пиши все в одну строку.
2012/2/6 abbat abbat...@mail.ru
http://old.nabble.com/file/p33270528/2012-02-06-123728_1440x900_scrot.png
Caveat wrote:
Here's some working code...
Hi,
I am new to this mailling list, and a beginner in Gambas programming.
I am facing a problem i couldn't solve by myself and i would appreciate
some help of you guys.
I am using the xml.rpc component, and i would like to send an array (of
Date) to the server.
I have the following code
conn.Exec(insert into UTI001 (CLEF, Langue, Backup) VALUES (1, 2,
3), Caveat, EN, C:\\Temp)
This has to be ONE LINE!
On Mon, 2012-02-06 at 02:40 -0800, abbat wrote:
http://old.nabble.com/file/p33270528/2012-02-06-123728_1440x900_scrot.png
Caveat wrote:
Here's some working code...
This is just minor IDE thing, but it confuses me each time I want to
start a new project. Guess this hasn't changed in Gambas3, correct me if
I'm wrong, I just can't check on this machine here at the moment.
In the dialog that asks for the project title and name, the explanations
for the two
2012/2/6 Francois Saidi franc...@saidi-oliver.com:
Hi,
I am new to this mailling list, and a beginner in Gambas programming.
I am facing a problem i couldn't solve by myself and i would appreciate
some help of you guys.
I am using the xml.rpc component, and i would like to send an array (of
sql = INSERT INTO statistic (TimeCode, SessionStart, SessionEnd, Kluch,
Comp) VALUES (1,2,3,4,5)
MODMain.$Con.Subst(sql, T, Now(), Now(), kluch, Nc)
MODMain.$Con.Exec(sql)
i prefer like that :
MODMain.$Con.Exec(INSERT INTO statistic (TimeCode, SessionStart,
SessionEnd, Kluch, Comp) VALUES
ok,
this was not actually the real code, i've just typed this as an example.
Hplus
Le 06/02/2012 13:38, Fabien Bodard a écrit :
2012/2/6 Francois Saidifranc...@saidi-oliver.com:
Hi,
I am new to this mailling list, and a beginner in Gambas programming.
I am facing a problem i couldn't solve
Hi All,
I've made a small game called Memory for my kids in Gambas 2.22.
You click one picture and make it visible, click the other and make it
visible, when matching pictures, disable both pictures, when not
matching make invisible again after 1 sec.
This all works perfectly (at least for me).
Hi All,
When making forms I determine hierarchy of the controls on the form for
navigating the form with TAB-key during runtime. This to make the forms
more user friendly.
Simple example:
---
Application with 1 form with 3 ValueBoxes.
ValBox1 and ValBox2 for input
ValBox3 for output
And I agree with Fabien
I just over with the transcription of former wrongly formatted query style -
query=INSERT INTO.
MyConn.Exec(query)
Don't use that style! You will make only troubles with escaping characters.
The right way is MyConn.Exec(INSERT Into ...
hi,
Hi All,
I've made a small game called Memory for my kids in Gambas 2.22.
You click one picture and make it visible, click the other and make it
visible, when matching pictures, disable both pictures, when not
matching make invisible again after 1 sec.
This all works perfectly (at
I am doing the same thing.
Using class in place of structures.
Then arrays or collections of the classes.
Works great!
-- Original Message ---
From: Kevin Fishburne kevinfishbu...@eightvirtues.com
To: gambas-user@lists.sourceforge.net
Sent: Sun, 05 Feb 2012 02:39:43 -0500
MFmain.Label1.text = test_string
-- Original Message ---
From: abbat abbat...@mail.ru
To: gambas-user@lists.sourceforge.net
Sent: Sat, 4 Feb 2012 15:01:59 -0800 (PST)
Subject: [Gambas-user] Send from .module to .class
How can I send a string test_string from
Main.module
to
But you have to tweak your project options to allow this.
Regards,
Ron_2nd.
MFmain.Label1.text = test_string
-- Original Message ---
From: abbatabbat...@mail.ru
To: gambas-user@lists.sourceforge.net
Sent: Sat, 4 Feb 2012 15:01:59 -0800 (PST)
Subject: [Gambas-user] Send
One of these days... maybe I have missed something, but any clue why Gambas
programs cannot find some symbols from libc?
Specifically I'm talking about fmod, my libraries (written with C) can find
this without problem.
And even more strange, Gambas programs can find some symbols from libc.
Ok,
I've checked the sources of the component and figured out my problem
I have to create an RpcArray with my Date[] first before putting it
into the Variant[]...
Hplus
Le 06/02/2012 13:38, Fabien Bodard a écrit :
2012/2/6 Francois Saidifranc...@saidi-oliver.com:
Hi,
I am new to this
Le 03/02/2012 18:11, Fabián Flores Vadell a écrit :
Hi.
Exists any spec for the structure of directories and files (and its
meaning) of a Gambas project?
What I want is to know all conditions that the compiler and interpreter
expect, in order to call them from the command line.
I need to
When I did a similar game, I had some boolean variable called locked or
something. In the mouse receiver event handlers, I first check if the
boolean variable is set or not. If it is set, I return immediately, if not,
I continue as normal.
You should be able to do that as well.
I should not use
I thought I'd found the solution (when I looked at the documentation
again), namely to use the Update Refresh methods on the controls as
per the code below:
FMain.ValueBoxLatitude.Value = MDatabase.ResultSite!latitude
FMain.DataSourceCountry.Connection = MDatabase.DatabaseConnection
El 05/02/12 00:01, abbat escribió:
How can I send a string test_string from
Main.module
to
Label1 which situated on
MFmain.class
Thanks
Use properties or setter and getter public functions. Not a good idea
making form controls public.
Regards
--
Jesus Guardon
Le 03/02/2012 20:51, John Rose a écrit :
I've looked at the Database example and I still don't understand how to
use the DataSource DataBrowser controls.
My DataSourceCountry control has its Table property set to country (one
of the tables in the Test.db SQLite3 database in the Data
Le 03/02/2012 21:13, tobias a écrit :
hi,
consider the following (where PickColor is the event name of a group
of ToogleButton controls)
Public Sub Form_Open()
PickColor_Click()
End
Public Sub PickColor_Click()
Print Last
End
since the event handlers are just subroutines one
Le 04/02/2012 01:19, tobias a écrit :
On 04.02.2012 01:12, tobias wrote:
Hi,
I really need help. There's a lot of work with colors in Images and
Pictures in a project and between these classes. This is generally
speaking as follows: I have a class which has an 8*8px Image which is
Le 05/02/2012 03:55, Ian Roper a écrit :
In the Editor control from gb.qt4.ext
# Context
When reviewing text read from a file in an Editor Control.
# Highlighting
When MyEditorControl.Highlight attribute is set to 'Normal', the
'end-of-line' ( gb.crlf ) character is displayed as a
hi,
Benoît Minisini wrote:
Le 04/02/2012 01:19, tobias a écrit :
On 04.02.2012 01:12, tobias wrote:
Hi,
I really need help. There's a lot of work with colors in Images and
Pictures in a project and between these classes. This is generally
speaking as follows: I have a class which has an
On 2/5/2012 11:44 PM, Zach Smith wrote:
only if the time is not 00:00:00
Correction - only if the time *is* 00:00:00
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for
I agree, but the supplied example doesn't work with making controls public.
2012/2/6 Jesus ea7...@ea7dfh.com
El 05/02/12 00:01, abbat escribió:
How can I send a string test_string from
Main.module
to
Label1 which situated on
MFmain.class
Thanks
Use properties or setter and
Hi Rolf,
to your 1st point:
in gb3 there is a wizard, asking first for the directory (and you can create a
new one), then asking for the name and the title of the project.
This should be ok, don't you think so?
2nd point:
(also gb3)
In the opening dialog you can see clearly if it is a folder or
Updates:
Status: Started
Comment #2 on issue 123 by benoit.m...@gmail.com: GUI dependencies in
library projects not exposing any gui dependency
http://code.google.com/p/gambas/issues/detail?id=123
If libraries do not automatically load their dependencies (like
components), do you
Hi Emil,
You were right on the SLEEP not doing the job.
SLEEP freezes the event from being executed.
But as soon as sleep time is finished the event raised during sleep time
gets executed anyway.
But the solution with working with booleans seems fair enough :-)
I'll have a go at that..
Thanks,
Comment #3 on issue 123 by adamn...@gmail.com: GUI dependencies in library
projects not exposing any gui dependency
http://code.google.com/p/gambas/issues/detail?id=123
I'm not sure on whether that would help as I'm not clear on how both
component and library loads work regarding
Comment #3 on issue 103 by adamn...@gmail.com: Treeview KeyRelease behaves
differently with gtk and qt4
http://code.google.com/p/gambas/issues/detail?id=103
I think the gtk method is correct. I will look at whether this has been
discussed anywhere on the QT4 internet.
I build a array of inserts - first item in the array is begin transaction
i19 = i19 + 1
sql = Insert into disks
sql = sql ( diskno,dirno, nof,disknum, dirnum)
sql = sql Values ('
sql = sql i17 ', ' i3 ', ' i20 ', ' tmp19
On 02/06/2012 09:36 AM, nando wrote:
I am doing the same thing.
Using class in place of structures.
Then arrays or collections of the classes.
Works great!
What are the general steps to do such a thing? How do you declare a
class, define its properties, then create an array of the class?
Quite easy.
Here's a suggestion/example
Make a class called Tune...
...Dim a bunch of privates for values (name, artist, date, genre)
...Write SUBs for things to do with Tunes
In FMain...
PUBLIC Tunes AS Object[]
In a SUB somewhere...
Dim newTune as NEW Tune( possible constructor
40 matches
Mail list logo