how to script alternating groupfooter background color
i have a summary table where i want to alternate the background color of my group summary. i have the sample report designer script from the code samples:
bool backColor = true;
public void detail_Format()
{
if (backColor)
{
rpt.Sections["detail"].BackColor =System.Drawing.Color.Silver;
}
else
{
rpt.Sections["detail"].BackColor = System.Drawing.Color.Transparent;
}
backColor=!backColor;
}
public void ActiveReport_PageStart()
{
if (!backColor) backColor = !backColor;
}
what do i need to add to this to make my groupfooter types alternate color???
J
0
-
Jeff,
Have you figured this out? I am trying to accomplish a similar thing, but I want the backgroud color for text to change if the status of my field changes (safe/unsafe). I you have any suggestions I would greatly appreciated it.
Thanks,
Nataliya0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar