Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Alternating shading on printed lines

edited February 2002 in General
How can I alternate shading on printed lines output when using Report
Builder.

Comments

  • edited February 2002

  • edited February 2002
    If you have RAP, you can do this:

    1. Add a rectangle to your Detail band. Choose ParentHeight, ParentWidth,
    Stretch and Shift if necessary. Use Send to Back to place it behind the
    text.

    2. In the Detail band's BeforePrint event, add a little code:

    if (Detail.Count mod 2) = 0 then
    Shape1.Brush.Color := clAqua
    else
    Shape1.Brush.Color := clWhite;


    Jim Shawver
    BCC Software, Inc.

This discussion has been closed.