Page 1 of 1

Hightlight condition

Posted: Sat Jun 21, 2008 10:31 am
by programmer
I am learning StimulReport thru the flash tutorial right now. i would say it was amazing.

I have 2 question regarding hightligting features shown in the tutorials:

1) I couldn't find the Hightlight Conditions Properties follow the link http://www.stimulsoft.com/livedemos/Rep ... ition.html.

2) I try to modify a report by following http://www.stimulsoft.com/livedemos/Rep ... tyles.html Here's my condition i put at BeforePrintEvent

if(Products.UnitPrice > 20)
{
Text6.ComponentStyle = "Even";
}


However, only the first row which more than 20 change the component style, the rest doens't change at all.


Thanks for help.

Hightlight condition

Posted: Sat Jun 21, 2008 5:25 pm
by Brendan
Hello,

To answer both your questions, the Highlight condition in those videos are from an older build of StimulReports.net
The Hightlight condition has been since replaced with the "Conditions" property.

This also will handle your 2nd question without having to write code as the Conditions property allows you to have multiple conditions for a component.

Hightlight condition

Posted: Sat Jun 21, 2008 8:27 pm
by programmer
Thanks Brenda, it works now.
Brendan wrote:Hello,

To answer both your questions, the Highlight condition in those videos are from an older build of StimulReports.net
The Hightlight condition has been since replaced with the "Conditions" property.

This also will handle your 2nd question without having to write code as the Conditions property allows you to have multiple conditions for a component.