column report break every n lines

LouLou
edited 7:15PM 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 7:15PM
    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

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.