[Gambas-user] make Label background from Database field

Vassilis A. Kanatas vkan53 at ...2300...
Sat Oct 17 14:32:35 CEST 2009


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.





More information about the User mailing list