On Sunday 18 October 2009 06:47 pm, Jerry McBride wrote:
> Is the source code for the wiki available? I understand it's written in
> gambas... It would make a great tutorial.
As far as I know, it's included in the Gambas tarball in the
"app/src/doc.cgi" directory.
Rob
Because the pop-up list would be too long?
Saba Moshe
>>>
Date: Sun, 18 Oct 2009 18:00:50 +0200
From: Beno?t Minisini
Subject: Re: [Gambas-user] Code Editor Problem
To: mailing list for gambas users
Message-ID: <200910181800.50789.gam...@users.sourceforge.net>
Content-Type: Text/Plain; charse
Vassilis K wrote:
> After a more accurate control I discovered that the last record was not
> included with red color. But when I put the LOOP up to rsThesi.Count it shows
> up the same old error.
> so I put just after the LOOP the line :
> change_bgcolor("Label" & CInt(rsThesi!thesi))
> AND eve
Is the source code for the wiki available? I understand it's written in
gambas... It would make a great tutorial.
Jerry
--
*
From the desk of:
I'm building Gambas on Gentoo and it's dragging in all kinds of gnome
libraries... My question is why?
Jerry
--
*
From the desk of:
After a more accurate control I discovered that the last record was not
included with red color. But when I put the LOOP up to rsThesi.Count it shows
up the same old error.
so I put just after the LOOP the line :
change_bgcolor("Label" & CInt(rsThesi!thesi))
AND everything is OK at last !!
Here'
On Sun, 2009-10-18 at 17:53 +0200, Benoît Minisini wrote:
> > TextBoxes and Labels have an alignment property but DataControls do not.
> >
> > Is that by design? Are there plans to change it?
> >
> > Is there a workaround to allow the alignment of a DataControl, apart
> > from hiding the DataCont
On Sun, 2009-10-18 at 14:00 +0200, Doriano Blengino wrote:
> Kad Mann ha scritto:
> > On Sun, 2009-10-18 at 10:47 +0200, Doriano Blengino wrote:
> >
> >> Kad Mann ha scritto:
> >>
> >>> On Sun, 2009-10-18 at 09:08 +0200, Doriano Blengino wrote:
> >>>
> >>>
> Kad Mann ha scrit
Vassilis K ha scritto:
> After the function of change_bgcolor that existed and Benoit reminded us, the
> code is becoming more sophisticated:
>
> PUBLIC SUB Form_Open()
> DIM rsThesi AS Result
> DIM iTemp AS Integer
> DIM sTemp AS String
>MODMain.Connect()
>rsThesi = MODMain.$Con.ex
After the function of change_bgcolor that existed and Benoit reminded us, the
code is becoming more sophisticated:
PUBLIC SUB Form_Open()
DIM rsThesi AS Result
DIM iTemp AS Integer
DIM sTemp AS String
MODMain.Connect()
rsThesi = MODMain.$Con.exec("select * from egrafes where elenchos
Benoît Minisini ha scritto:
>> I get error:
>> "Result is not available"
>> at line:
>> "change_bgcolor("Label" & rsThesi!thesi)"
>>
>> of the code:
>>
>> PUBLIC SUB Form_Open()
>> DIM i AS Integer
>> DIM rsThesi AS Result
>> MODMain.Connect()
>> rsThesi = MODMain.$Con.exec("select * fr
hi i want to send data to serial port. when i send a number (for exam: 37) ,
what is writing gambas to seri port (100101 or 37) ?
if gambas write (37) how can i convert decimaltobinary. (are there any module
or command ?
> I get error:
> "Result is not available"
> at line:
> "change_bgcolor("Label" & rsThesi!thesi)"
>
> of the code:
>
> PUBLIC SUB Form_Open()
> DIM i AS Integer
> DIM rsThesi AS Result
> MODMain.Connect()
> rsThesi = MODMain.$Con.exec("select * from egrafes where elenchosAnax =
> 0")
> Is it possible to use an image as a background of a TabStrip? Are the masks
> usable for that?
> How can I attach a mask to an object? I would like to have an example.
> Thanks!
No, mask are only for top-level windows.
X-Window allows what you want, but I didn't implement it because of the
dif
> > On Sat, 2009-10-17 at 16:21 +0200, Benoît Minisini wrote:
> > > > No such thing happens if the module name is from 1 to 3 characters in
> > > > length. The problem is, I need a module to be called k, nothing else,
> > > > and I need the constants to be displayed when I type k and a period.
> >
> On Sat, 2009-10-17 at 16:21 +0200, Benoît Minisini wrote:
> > > No such thing happens if the module name is from 1 to 3 characters in
> > > length. The problem is, I need a module to be called k, nothing else,
> > > and I need the constants to be displayed when I type k and a period.
> >
> > Do y
> TextBoxes and Labels have an alignment property but DataControls do not.
>
> Is that by design? Are there plans to change it?
>
> Is there a workaround to allow the alignment of a DataControl, apart
> from hiding the DataControls and mirroring the data in a TextBox?
>
Not really, not really.
> Hey guys,
>
> I know that in gambas server pages there's #USE that allows us to use
> gambas components.
>
> Is there something similar to PHPs include statement to be able to use
> classes and modules?
>
> and when making modules and classes for server pages are there any changes
> we need t
Doriano Blengino ha scritto:
> Dimitris Anogiatis ha scritto:
>
>> Vassili,
>>
>> Glad to hear that it's working for you :)
>>
>>
> I join - congratulations!
>
> The only pity is to have such an awful case statement, when 5 or 6 lines
> of code would do the same job. That SELECT it is n
Dimitris Anogiatis ha scritto:
> Vassili,
>
> Glad to hear that it's working for you :)
>
I join - congratulations!
The only pity is to have such an awful case statement, when 5 or 6 lines
of code would do the same job. That SELECT it is not much faster,
because it compares case by case until
Vassili,
Glad to hear that it's working for you :)
Keep up the good work :)
Regards,
Dimitris
On Sun, Oct 18, 2009 at 7:22 AM, Vassilis K wrote:
> It is Solved !!
>
>
> It works fine with: rsThesi.Count - 1
>
> DO WHILE rsThesi.Index < rsThesi.Count - 1
> change_bgcolor(CInt(rsThe
It is Solved !!
It works fine with: rsThesi.Count - 1
DO WHILE rsThesi.Index < rsThesi.Count - 1
change_bgcolor(CInt(rsThesi!thesi))
rsThesi.MoveNext()
LOOP
Thank you Dimitri and Doriano
--
Come build wi
Dimitri it worked !!
I put the code that you suggested and it works only when I put a number
smaller than rsThesi.Count . For example when I put 10 it shows 10 Labels
coloured !
I ' m writing down the code that worked:
PUBLIC SUB Form_Open()
DIM rsThesi AS Result
DIM iTemp AS Integer
DIM
Vassili,
Going back and forth through the whole thread I can also see that
change_bgcolor is not
as efficient as it could be simply because it's doing a loop looking through
all the controls
trying to match the desired control's name.
for change_bgcolor I would suggest this
Public SUB change_b
Kad Mann ha scritto:
> On Sun, 2009-10-18 at 10:47 +0200, Doriano Blengino wrote:
>
>> Kad Mann ha scritto:
>>
>>> On Sun, 2009-10-18 at 09:08 +0200, Doriano Blengino wrote:
>>>
>>>
Kad Mann ha scritto:
> On Sat, 2009-10-17 at 22:46 +0300, Vassilis
On Sun, 2009-10-18 at 10:47 +0200, Doriano Blengino wrote:
> Kad Mann ha scritto:
> > On Sun, 2009-10-18 at 09:08 +0200, Doriano Blengino wrote:
> >
> >> Kad Mann ha scritto:
> >>
> >>> On Sat, 2009-10-17 at 22:46 +0300, Vassilis K wrote:
> >>>
> >>>
> >>>
> Dimitri I don't u
Kad Mann ha scritto:
> On Sun, 2009-10-18 at 09:08 +0200, Doriano Blengino wrote:
>
>> Kad Mann ha scritto:
>>
>>> On Sat, 2009-10-17 at 22:46 +0300, Vassilis K wrote:
>>>
>>>
>>>
Dimitri I don't understand
>>> Why don't you take a look at the database
Dear Doriano,
I have tested both codes with
sTemp = CStr(rsThesi!thesi) 'As a string variable
AND then with
iTemp = rsThesi!thesi 'As Integer
I get the results on the console but the code now stops at:
sTemp = CStr(rsThesi!thesi)
OR at
iTemp = rsThesi!thesi
with message "Result is not
On Sun, 2009-10-18 at 09:08 +0200, Doriano Blengino wrote:
> Kad Mann ha scritto:
> > On Sat, 2009-10-17 at 22:46 +0300, Vassilis K wrote:
> >
> >
> >> Dimitri I don't understand
> >>
> >
> > Why don't you take a look at the database example in Gambas?
> >
> > After creating the test table,
Kad Mann ha scritto:
> On Sat, 2009-10-17 at 22:46 +0300, Vassilis K wrote:
>
>
>> Dimitri I don't understand
>>
>
> Why don't you take a look at the database example in Gambas?
>
> After creating the test table, if you type in an SQL command and click
> the run button, you will see a gridv
30 matches
Mail list logo