Hightlight condition

Stimulsoft Reports.NET discussion
Post Reply
programmer
Posts: 7
Joined: Fri Jun 20, 2008 1:33 am

Hightlight condition

Post 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.
Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

Hightlight condition

Post 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.
programmer
Posts: 7
Joined: Fri Jun 20, 2008 1:33 am

Hightlight condition

Post 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.
Post Reply