Rectangle only on every 2nd databand

Thomas PFisterThomas PFister Bavaria, Germany
edited 4:23PM in FastReport VCL 5
Hello,

what is the easiest way to print a rectangle on ever 2nd databand / odd - dataset ?

thanks!

:-) thomas

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:23PM
    Jn the obp event of the rectangle write code to set its visible property useing the <line#> variable and modulo mat
    if <Line#> mod 2 = 0 then object name.visible = true else object name.visible = false;

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.