ActiveReports 6 Online Help
Create Green Bar Reports
Show AllShow All
Hide AllHide All

Green bar printouts can be created by alternating the shading or background color of the report's Detail section in the Format event.

To add code to alternate colors in the detail section

  1. Double-click the detail section of the report to create an event-handling method for the Detail Format event.
  2. Add code to the handler to alternate background colors.

The following example shows what the code for the method looks like.

To write the code in Visual Basic.NET

To write the code in C#

See Also

Walkthroughs