Page 1 of 1

How to Add conditinal color based on a varaible's value

Posted: Tue Aug 12, 2025 9:54 pm
by Doron
Hi There,

I see that under the text brush i can insert an expression:
The default is black and need to turn it to a blue:
How is that can be done? That is in a text box.

if (ReportType == "Standard PO Report" && Summary_Only == 1)
{
SolidBrushValue("#0000FF") ;
}
else
{
SolidBrushValue("#000000");
}

Thanks,

Doron

Re: How to Add conditinal color based on a varaible's value

Posted: Wed Aug 13, 2025 9:43 pm
by Lech Kulikowski
Hello,

You can use the Brush Expression option.

Thank you.