Rectangle only on every 2nd databand

Thomas PFisterThomas PFister Bavaria, Germany
edited 11:16PM 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 11:16PM
    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