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 no
(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
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
> 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:
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 do
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:
S=RS!objname
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 a
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!objnam
> 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
> 2011/9/24 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.Fla
> 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
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 gamba
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 ass
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, Demos
2011/9/24 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://ga
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.
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
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?
>
---
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
-
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 ha scritto:
> Da: Ru Vuott
> Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream
> A: "mailing list for gambas users"
> Data: Sab
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 h
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 perf
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 decrease
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&= CS
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)
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 :
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
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 rele
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
x86
29 matches
Mail list logo