In the VCL version, how to stop after only displaying the complete page 1?


hello everyone:

I am working on a different template for users to choose. Each template loads different amounts of data.

But the whole generation is slow. I want to display only the complete page 1. For each template, only one row or multiple rows may be loaded.

I can get a value in the onprocess event, and then I call the end there, but there will always be half of the display on page 2.

procedure TFrameReport.frxReport1Progress(Sender: TfrxReport; ProgressType: TfrxProgressType; Progress: Integer);

begin

 if Progress > 1 then

 begin

  frxReport1.Terminated := True;

 end;

end;


So I want to know how to display only the template on page 1.

Thank you.

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.