Print a line on several pages

edited July 2010 in FastReport 4.0
Hello [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> I have a problem in FastReport for display the lines on several pages of a document. In fact, my lines are a folding marks (e.g when we generate several letter for send to each customer). I can on the first page, but I don't find how display the lines on the other pages (and can't use PageHeader/PageFooter), because there is no reprint available in the settings for one line. I create 2 lines in my form, and an event on the Page : (for align to the left and the top/bottom[/img]
procedure Page1OnBeforePrint(Sender: TfrxComponent);
begin
   Line3.Top := 37.7953*7.7;
   Line3.Left := -(37.7953*2.4);                                   
   Line4.Top := 37.7953*18.2;
   Line4.Left := -(37.7953*2.4);                                                       
end;

foldingmarks.jpg

If you have an idea regarding this problem [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Thank you in advance J?©r??me[/img]

Comments

  • Anu de DeusAnu de Deus Hampshire, UK
    edited 7:21AM
    It looks to me that your lines would behave exactly like a watermark, i.e. an object independent of any bands that are repeated in every page.
    I haven't used those, but I remember seeing something about it here in the forums.
    Search for the work 'watermark' in the forums, maybe you find what you need.
  • edited 7:21AM
    It looks to me that your lines would behave exactly like a watermark, i.e. an object independent of any bands that are repeated in every page.
    I haven't used those, but I remember seeing something about it here in the forums.
    Search for the work 'watermark' in the forums, maybe you find what you need.



    It's perfect with using Overlay Band [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> I just copy my 2 lines in the Overlay Band with my different settings in the code ( top, left..) and the folding marks are print on every pages where I want[/img][img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Thank you Anu de Deus[/img]>

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.