Striped Report

edited 11:10AM in FastReport 4.0
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.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 11:10AM
    use 1 tfrxmemoview object no contents in the memo size to the height of the band and align width
    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.
  • edited 11:10AM
    10x for anwser.
    But I don't need to stripe all report. How can I use it for some parts of it?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.