[Gambas-user] gb.html

2011-09-24 Thread herberth guzman
Me gustaria probar el componente gb.html para testear ya que tengo que hacer un programa en ambiente web y me gustaria ver como funsiona dicho componente. -- All of the data generated in your IT infrastructure is seriously

[Gambas-user] libstdc++.so.6: undefined symbol

2011-09-24 Thread Demosthenes Koptsis
i get this error when i just run and close the FMain, Project139: symbol lookup error: /usr/lib/x86_64-linux-gnu/libstdc ++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15 Linux Mint Debian Edition. Linux mint-desktop 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011

[Gambas-user] Gambas 3 RC4

2011-09-24 Thread Benoît Minisini
Hi, Of course, many people found annoying bugs since RC3. But now things became a bit quiet, so I decided to make the fourth release candidate of Gambas 3. If nobody find big bugs again, it will become the final release - but I know you :-) As usual, you can get all the details about this

Re: [Gambas-user] Help with RegExp

2011-09-24 Thread tobias
On 24.09.2011 01:16, Benoît Minisini wrote: I'm not sure whether you are trying to learn regexp patterns or parse a gambas sourcecode line, but if the second then this is how I do it. ' Gambas module file Public Sub Main() Dim sSourceCode As String ' The original source line Dim sCode

Re: [Gambas-user] Gambas 3 RC4

2011-09-24 Thread Jack
Le 24/09/2011 14:23, Benoît Minisini a écrit : Hi, Of course, many people found annoying bugs since RC3. But now things became a bit quiet, so I decided to make the fourth release candidate of Gambas 3. If nobody find big bugs again, it will become the final release - but I know you :-)

[Gambas-user] Eval() and gb.eval

2011-09-24 Thread Demosthenes Koptsis
i have the next lines to make an gb.eval example Public Sub btnEval_Click() Dim hExpression As Expression hExpression = New Expression hExpression.Text = txtEval.Text txtResult.Text = CStr(hExpression.Value) gb.NewLine Print Eval(txtEval.Text)

Re: [Gambas-user] Eval() and gb.eval

2011-09-24 Thread tobias
On 24.09.2011 17:12, Demosthenes Koptsis wrote: i have the next lines to make an gb.eval example Public Sub btnEval_Click() Dim hExpression As Expression hExpression = New Expression hExpression.Text = txtEval.Text txtResult.Text=

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-24 Thread Ru Vuott
Hello Benoît, well, I tried your trick on using file descriptors. It seems it's OK ! But I verify a problem: when the midi-program runs, and midi events aren't sent, the use of one CPU springs up to 100% !!! If I press on a button or other object on the Form, the use of that CPU decreases

[Gambas-user] ShowLineNumbers Editor

2011-09-24 Thread Demosthenes Koptsis
which is the property to set ShowLineNumbers to show line numbers for Editor control? -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application

Re: [Gambas-user] Eval() and gb.eval

2011-09-24 Thread Demosthenes Koptsis
so True = T and False = Null for txtResult.Text= CStr(hExpression.Value) gb.NewLine that i also get. I just wonder if this is correct. i expected the same functionality with Eval(). On Sat, 2011-09-24 at 17:44 +0200, tobias wrote: On 24.09.2011 17:12, Demosthenes Koptsis wrote: i have

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream.... BIS

2011-09-24 Thread Ru Vuott
Hello Benoît, excuse me, I come back I send to you the source, so you can test the CPU problem. bye Paolo --- Sab 24/9/11, Ru Vuott vu...@yahoo.it ha scritto: Da: Ru Vuott vu...@yahoo.it Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream A: mailing list for

Re: [Gambas-user] ShowLineNumbers Editor

2011-09-24 Thread tobias
On 24.09.2011 18:47, Demosthenes Koptsis wrote: which is the property to set ShowLineNumbers to show line numbers for Editor control? it's Editor.Flags[]: http://gambasdoc.org/help/comp/gb.qt4.ext/.editor.flags?v3 --

Re: [Gambas-user] ShowLineNumbers Editor

2011-09-24 Thread Demosthenes Koptsis
ok i found it. Editor1.Flags[Editor1.ShowLineNumbers] = True it is little tricky, isn't it? On Sat, 2011-09-24 at 19:47 +0300, Demosthenes Koptsis wrote: which is the property to set ShowLineNumbers to show line numbers for Editor control?

Re: [Gambas-user] Eval() and gb.eval

2011-09-24 Thread tobias
On 24.09.2011 18:50, Demosthenes Koptsis wrote: so True = T and False = Null for txtResult.Text= CStr(hExpression.Value) gb.NewLine that i also get. I just wonder if this is correct. i expected the same functionality with Eval(). i suppose, it *has* the same functionality (suppose

Re: [Gambas-user] ShowLineNumbers Editor

2011-09-24 Thread Demosthenes Koptsis
Thanks Tobias i saw it. On Sat, 2011-09-24 at 19:26 +0200, tobias wrote: On 24.09.2011 18:47, Demosthenes Koptsis wrote: which is the property to set ShowLineNumbers to show line numbers for Editor control? it's Editor.Flags[]: http://gambasdoc.org/help/comp/gb.qt4.ext/.editor.flags?v3

Re: [Gambas-user] ShowLineNumbers Editor

2011-09-24 Thread Fabien Bodard
2011/9/24 Demosthenes Koptsis demosthen...@gmail.com: Thanks Tobias i saw it. On Sat, 2011-09-24 at 19:26 +0200, tobias wrote: On 24.09.2011 18:47, Demosthenes Koptsis wrote: which is the property to set ShowLineNumbers to show line numbers for Editor control? it's Editor.Flags[]:

Re: [Gambas-user] Eval() and gb.eval

2011-09-24 Thread Demosthenes Koptsis
txtResult.Text = CStr(hExpression.Value) gives the same result with txtResult.Text = hExpression.Value which is T i think gambas3 make in the background the convertion (i think...) and CStr may be is useless. On Sat, 2011-09-24 at 19:29 +0200, tobias wrote: On 24.09.2011 18:50,

Re: [Gambas-user] Eval() and gb.eval

2011-09-24 Thread tobias
On 24.09.2011 21:44, Demosthenes Koptsis wrote: txtResult.Text= CStr(hExpression.Value) gives the same result with txtResult.Text= hExpression.Value which is T i think gambas3 make in the background the convertion (i think...) and CStr may be is useless. of course, you assign it to a

Re: [Gambas-user] Eval() and gb.eval

2011-09-24 Thread Demosthenes Koptsis
yes PRINT gives TRUE. why that? On Sat, 2011-09-24 at 21:46 +0200, tobias wrote: On 24.09.2011 21:44, Demosthenes Koptsis wrote: txtResult.Text= CStr(hExpression.Value) gives the same result with txtResult.Text= hExpression.Value which is T i think gambas3 make in the

Re: [Gambas-user] Eval() and gb.eval

2011-09-24 Thread tobias
yes PRINT gives TRUE. why that? i thought, i explained it already ;) obtaining hExpression.Value and calling Eval() do the same, you will get the same result. Print prints an expression, this is not limited to a string, even not limited to a variant, because you can print objects, too, but

Re: [Gambas-user] ShowLineNumbers Editor

2011-09-24 Thread Benoît Minisini
2011/9/24 Demosthenes Koptsis demosthen...@gmail.com: Thanks Tobias i saw it. On Sat, 2011-09-24 at 19:26 +0200, tobias wrote: On 24.09.2011 18:47, Demosthenes Koptsis wrote: which is the property to set ShowLineNumbers to show line numbers for Editor control? it's

Re: [Gambas-user] Eval() and gb.eval

2011-09-24 Thread Benoît Minisini
yes PRINT gives TRUE. why that? Because Print uses Str$() and not CStr() to convert its arguments to something printable. -- Benoît Minisini -- All of the data generated in your IT infrastructure is seriously

[Gambas-user] Starnge with DB and IF

2011-09-24 Thread Dag-Jarle Johansen
Well, here I am again, almost ashamed. I shorten the source to the main thing: Public sub ReafDB() Dim RS as result DIM S As string SQL=Select * From APCtrl Where Pseudo='J' AND LC= m.LC ' RS=msql.$ConU.Exec(SQL) RS.Movefirst (There is exactly on Record present, and with print RS!objname and

Re: [Gambas-user] Starnge with DB and IF

2011-09-24 Thread Caveat
In your SQL statement, it looks like there's a single quote missing between LC= and m.LC (at the end of the line you specifically add a single quote after the content of m.LC). For the rest I don't have much clue what you're going on about. I wish you'd state clearly what it is you're trying to

[Gambas-user] Issue 108 in gambas: Suggest: IDE should show frame border

2011-09-24 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 108 by adamn...@gmail.com: Suggest: IDE should show frame border http://code.google.com/p/gambas/issues/detail?id=108 1) Describe the problem. The form editor in the IDE

Re: [Gambas-user] Starnge with DB and IF

2011-09-24 Thread Benoît Minisini
Hi, off course I have tried directly too, that works, so it seems I get something weird from the DB. I wrote those lines here, so I think my syntax is right in the app. I have written DB-apps since 25 years, so I am pretty clear over how to handle that. What is really strange to me:

[Gambas-user] What replaces Desktop.Scale in gambas3?

2011-09-24 Thread Bruce Bruen
I'm trying to set a gridview column width to the maximum length of the strings in the column. I can find the maximum width in terms of the length of the string easily but what do I multiply that by to get the desired cloumn width? I have searched through the wiki but I just cant seem to find what

[Gambas-user] Surrogate keys and database insertions

2011-09-24 Thread Bruce Bruen
(This drove me bananas in gambas2.) Is there now (in gambas 3) a way to get the key of the row just inserted into the database when the key is a surrogate key e.g. a SQLite serial? For example, in the following, the items table has a surrogate key called id which is a simple serial. Private Sub

Re: [Gambas-user] Eval() and gb.eval

2011-09-24 Thread Demosthenes Koptsis
ok, that is what i want to understand. so i can do txtResult.Text = Str(hExpression.Value) gb.NewLine and works fine! Thanks Tobias and Benoit. On Sun, 2011-09-25 at 01:31 +0200, Benoît Minisini wrote: yes PRINT gives TRUE. why that? Because Print uses Str$() and not CStr() to