Thank you Doriano,

I tested the code that you proposed and got the following error:

"Type mismatch: wanted Label, got PictureBox instead"

at line:
For each alabel in Form1.Children (inside SUB change_bgcolor(...))

I have put all 100 Labels on Form1 above from the picture that I placed
on the Form. So it means that all Labels belong to the Form1.


------------------------------------------------------------------------------
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