Dynamic control of color and font in text boxes

You can use the OnPrint text box property to control the formatting and color of text dynamically, using JavaScript.


In the following example, if the line amount is negative, the forecolor is set to red and bold is set to true.