ActiveReports 9
Create Green Bar Reports
Show AllShow All
Hide AllHide All

In a section report, green bar printouts can be created by setting alternate shades or background color in the report's detail section in the Format event. The following steps demonstrate how to create a Green Bar report.

  1. On the design surface, double-click the detail section of the report to create an event handling method for the Detail Format event.
  2. Add the following code to the handler to alternate background colors.

    To write the code in Visual Basic.NET

    To write the code in C#

  3. Add controls like TextBox to the report design surface and preview the report.

The following image shows a Green Bar report alternating between Transparent and Dark Sea Green backgrounds:

See Also

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum