Page Number Checking

edited May 2014 in FastReport 4.0
Dear Brothers/Sisters,

I m a new user for Fast Report. I create a report with master data band. Its stretched. I Need to make the data with tabular format. So, I draw the line from page header to master band and write the pascal script to extend the lines and that all the lines are extended properly. I need extend the lines up to bottom before the last page and last page need to stop before the footer print. how to check that condition. here i paste for pascal script.

procedure Page1OnBeforePrint(Sender: TfrxComponent);

begin
line1.Top := 290;
line1.height := 525;
line2.Top := 290;
line2.height := 525;
line3.Top := 290;
line3.height := 525;
line4.Top := 290;
line4.height := 525;
line5.Top := 290;
line5.height := 525;
line6.Top := 290;
line6.height := 525;
line7.Top := 290;
line7.height := 525;
line8.Top := 290;
line8.height := 525;
line9.Top := 290;
line9.height := 525;
line10.Top := 290;
line10.height := 525;

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.