How to Add conditinal color based on a varaible's value
Posted: Tue Aug 12, 2025 9:54 pm
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
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