Gov
Guest
Hi,
Is it possible to set different colours to the display text based on conditions?
Real Scenario:
In my report I will display an error message if a validation fails. We have two types of error messages where one is Hard and other is Warning.
I need to display the text on PDF with Green color if the error is Warning and need to display the text in RED color if the error is Hard. I did research on this and didnt find any system function to work it out. I know only we can change the font settings @ the text level which is static( Which cannot be manipulated based on conditions)
Please suggest me a solution.
Is it possible to set different colours to the display text based on conditions?
Real Scenario:
In my report I will display an error message if a validation fails. We have two types of error messages where one is Hard and other is Warning.
I need to display the text on PDF with Green color if the error is Warning and need to display the text in RED color if the error is Hard. I did research on this and didnt find any system function to work it out. I know only we can change the font settings @ the text level which is static( Which cannot be manipulated based on conditions)
Please suggest me a solution.