I am using textbox as a label because I have to change text content based on conditions. The issue is I can not hide border of the textbox. Is it possible?
Additionally, I want to change the color of this label text box. So is it possible to change color through C/AL. Right now I have a Boolean variable for StyleExpr property of control and able to switch between two colors. How about additional colors?
You can set the CaptionClass of the text box to display a variable caption. You can set this variable when the page is opened for example.
The StyleExpr would need to be variable that has one of the StyleValues.
The StyleExpr is a Boolean. Therefore, only able to change between default and one other style
The StyleExpr is not only a boolean.
"You can set StyleExpr to either the name of a variable; a text constant in apostrophes, for example, 'strong'; or, for backward compatibility, to true or false."
Thanks Brad! Its working as you said.
Awesome. Please mark answers as verified if they helped you to resolve your issue.
Business Applications communities