I’d like to setup a foreground color in a report but I can’t change the property.
Is it possible?
If I change the foregroundcolor in the design don’t get any effect.
Then I try by code:
for(i=1; i <this.design().sectionCount(); i++) //
reportSection = this.design().sectionNumber(i);
but I get an initialization error at the section number 34.
Can somebody help me?
Thanks a lot!
I found this blog post on using colors in reports. Hope it helps, it looks similar to what you are trying to accomplish.
Thanks for your help!
I saw this blog post: it’s very interesting and I use it for a section.
But I would like to color the entire report where I have many sections so I was looking for this problem.
In the end I added a control about the fieldtype:
if (Custinvoicejour.CurrencyCode != ‘PLN’)
if (reportobject.controlType() != ReportFieldType::Box)
And it’s works fine.