Is there a way to color the rows of a xojo report in different colors , like ‘first row background white, second row background yellow, third white, fourth yellow and so on…’
Did not find anything in the help, it only allows me to use the same background color for all rows.
Not exactly. You could run a counter variable and then always check if the number is odd/even.
Add a ReportRectangleShape to the report body and all labels/fields in this rectangle. In the BeforePrinting event of the ReportRectangleShape you could evaluate the counter variable and set the color accordingly. That would be my suggestion.
Wow, that’s fast! You’re my man. Works like expected. Couldn’t hit the ‘like’ more than once but … thank you so much!
How do I mark this thread as ‘Answered’?