Label text color question

rfresh

Well-Known Member
Licensed User
Longtime User
This code should produce a yellow background with red text but the text is white!! And on my Acer Iconia 10 inch tablet, the "yellow" is more of a golden rod color.

B4X:
lbl_screen_resolution.TextColor = Colors.Red
lbl_screen_resolution.Color = Colors.ARGB(120, 255, 255, 0)
 

rfresh

Well-Known Member
Licensed User
Longtime User
I'm not sure why I was using the .ARGB but your method worked for the Yellow background, and the red text is now working again.

Thanks...
 
Upvote 0
Top