rfresh Well-Known Member Licensed User Longtime User Mar 14, 2012 #1 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)
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)
klaus Expert Licensed User Longtime User Mar 14, 2012 #2 Why do you use a semitransparent background? You should use: B4X: lbl_screen_resolution.Color = Colors.RGB(255, 255, 0) Best regards. Upvote 0
Why do you use a semitransparent background? You should use: B4X: lbl_screen_resolution.Color = Colors.RGB(255, 255, 0) Best regards.
rfresh Well-Known Member Licensed User Longtime User Mar 14, 2012 #3 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
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...