Page 1 of 1

Component Style

Posted: Sun Jun 22, 2008 8:19 am
by Siang Hwee
Hi All,

I already create a component style and Save As DefaultStyle.sts. All my report are sharing a same DefaultStyle.sts. Now i have a problem, i want to change the DefaultStyle.sts and all the Report reflected accordingly. How to do it?

I think it is very useful especially if we can apply a theme kind of situation for the reports. Every report tight to 1 style, if we want to change the style we can change it at the back ground. This is very useful to me because some of the customer want to print report using dot matrix printer, where color is difficult to print thru dot matrix, hence i will let them choose others style. Is it possible to achieve thru stimulreport?




Component Style

Posted: Mon Jun 23, 2008 4:40 am
by Vital
Hello,

You can load styles to report with help of following code:

Code: Select all

report.Styles.Load("DefaultStyle.sts");
You need load styles before report compilation.

Thank you.