i'm wondering how to change the Brush property of a text component depending on the calculated "value" of the text expression of the same text component.
My text-expression on component Text18 is defined as follows:
Code: Select all
{IIf(Count(DataBand1) > 0, CountIf(DataBand1, Person.UID_Department="") / Count(DataBand1), 0)}
Code: Select all
Text18.Brush = New Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Red)
Any Ideas?
By the way - a documentation of the rendering process an the workings of the events (GetValue, BeforePrint,...) would be highly appreciated.
Thanks
Markus