Home RAP

Background Colours for detail lines

edited November 2007 in RAP
Hi,

I need to be able to set the background of the detail line so that every
alternate line has a background of Silver.

How do I do this?

Thanks - Barry

Comments

  • edited November 2007
    Hi Barry,

    Try placing a shape inside the detail band behind all other components with
    ParentWidth and ParentHeight set to True. Then, inside the
    Detail.BeforePrint, you could add something like the following...

    Shape1.Visible := (Detail.Count mod 2) = 1;

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.