tsteward Well-Known Member Licensed User Longtime User Jul 19, 2022 #1 I have a customer that is colour blind. My display shows 10 labels 30dip x 30dip holding one character. If there is an error I change the text to red. Apparently he cant see this so I thought maybe changing thos labels to round for error and square for correct might be better. Hence my question, how can I change the radius of a label programmatically? Open to other suggestions too. Thanks heaps Also a B4X solution would be preferable.
I have a customer that is colour blind. My display shows 10 labels 30dip x 30dip holding one character. If there is an error I change the text to red. Apparently he cant see this so I thought maybe changing thos labels to round for error and square for correct might be better. Hence my question, how can I change the radius of a label programmatically? Open to other suggestions too. Thanks heaps Also a B4X solution would be preferable.
LucaMs Expert Licensed User Longtime User Jul 19, 2022 #2 Label1.As(B4XView).SetColorAndBorder(xui.Color_Blue, 0, xui.Color_Blue, Label1.Height / 2) Upvote 2
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2022 #3 And you should declare Label1 as a B4XView. No reason to keep it as a Label. Upvote 0