Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Is there any way to change the text object value Color based on some condition?.
I have a text object below,
=' A Class:' & count({DIM_Type = {'A'} >}distinct Class_Key) &
' B Class:' & count({ DIM_STYPE = {'S'} >}distinct Class_Key)
And based on the below condition text colour has to change,
=if(Count(Remark)>=1 then Text object value should change to "Red" colour
Thanks,
Selva
Hi Selva,
Under the Text Object Properties > Font tab> if you click the color icon you can use a calculated color condition to set the text color to an expression.
For example:
=If(5+5=10, lightred(), black())
Hi,
yes you can do this.
Go to properties of textbox.
Click on the color
You will find the option "Calculated" Select that and paste your expression. like
if(count(Remark)>=1, Red())
Regards,
Kaushik Solanki
Thanks Kaushik & Johannes.. It's Perfect..