Thanks for the answer Dimitri.

You also caught error No 2 with the 2nd solution:

       $alblTime.Resize(100)
        FOR iD = 0 TO rsThesi.Count - 1
          $alblTime[iD] = NEW Label(ME)
          $alblTime[iD].Background = Color.Red
        NEXT
        MODMain.$Con.Commit()
END

The form with 100 labels is loading but I can see no red color
at the labels that the value of rsThesi!thesi is different than 0.
I can only see some red color at the upper left of the form!!

Let me explain that I already have put the 100 Labels on a form
with names: Label1, Label2, ....Label100. 
All I need is to change their color when the value of the field thesi
in the egrafes table is <> 0.

The other option with while < rsThesi.Count etc is not working.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to