Striped Report
Hello.
I'm trying to create report using UserDataSet like a stringlist.
I need it to be striped: background of one line should be white and background of other line should be gray.
Does anybody knows how to do this?
Here is my bad try:
I took two Memos and two variables on each on them. Then I put them on the same place of masterData. One memo i have painted on gray and other - on white.
During the report generation I put by turns lines from StringList in each of these variables. So I'll see my striped Report.
But it occups error that the second variable is not valid.
10x
Alex.
I'm trying to create report using UserDataSet like a stringlist.
I need it to be striped: background of one line should be white and background of other line should be gray.
Does anybody knows how to do this?
Here is my bad try:
I took two Memos and two variables on each on them. Then I put them on the same place of masterData. One memo i have painted on gray and other - on white.
During the report generation I put by turns lines from StringList in each of these variables. So I'll see my striped Report.
But it occups error that the second variable is not valid.
10x
Alex.
Comments
in the highlight editor select your color and in the condition <Line#> mod 2
to see this look at the main demo basic list report memo13 in the mdband.
But I don't need to stripe all report. How can I use it for some parts of it?