Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
RAP
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Background Colours for detail lines
rbuser
November 2007
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
nicocizik
November 2007
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.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com