column report break every n lines

LouLou
edited 3:55AM in FastReport 4.0
Hello,

I need to print a pricelist of items. Report would be 3 columns and I need items to print columns top to bottom , then left to right i.e. with a blank line every <n> rows. in this example its every 2, but in most cases It will be 5 to 10

1 6 11
2 7 12
< blank line>
3 8 13
4 9 14
<blank linke>
5 10 15

Comments

  • gpigpi
    edited 3:55AM
    Modify Engine.CurY in the script during preparing of report
  • LouLou
    edited November 2018
    gpi wrote: »
    Modify Engine.CurY in the script during preparing of report

    thanks , I was able to make it work.
    in my reports script.

    var
    iline : integer;

    procedure MasterData1OnAfterPrint(Sender: TfrxComponent);
    begin

    iline := iline +1;
    if iline mod 5 = 0 then
    Engine.CurY := Engine.CurY+12;
    end;

    begin


    iline := 0;
    end.

Leave a Comment