Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Detail Band - Different color Odd and Even
rbuser
March 2009
edited March 2009
in
General
Using RB Ent 11.02, Delphi 2006. I want odd and even detail bands to be
different colors. Basically, I want every other (2nd) band to be gray and
the others to be white.
Thanks,
David
Comments
nicocizik
March 2009
edited March 2009
Hi David,
Try something like the following with a shape inside the detail band...
procedure TForm1.ppDetailBand1BeforePrint(Sender: TObject);
begin
ppShape1.Visible := (Report.DetailBand.Count mod 2 = 0)
end;
--
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 something like the following with a shape inside the detail band...
procedure TForm1.ppDetailBand1BeforePrint(Sender: TObject);
begin
ppShape1.Visible := (Report.DetailBand.Count mod 2 = 0)
end;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com