TFRReport reset

edited 10:21AM in FastReport 2.xx VCL
Hi all,

Could anyone maybe answer the following newbie question:

I use the sames tFRReport component in ombination with a tFRPreview comp.
When I close the dataset (and the tFRReport) I would like to reset the report.

Simular to the Reportbuilder viewer component 'reset' method
now if I assign a new report file to tFRReport and activate the Preview screen, I get the result of hte previously selected report file while the report is being prepared/generated.

Cheers
Anton

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:21AM
    Hi Anton
    for a good example using the custom preview look at the fr\demos\reports\frdemo.dpr project.
    look at unit1 code it has everything you need.
    regards ;)
  • edited 10:21AM
    Hi Gordk,

    Thanx for the fast reply!
    I had a look at it and it contains all I need indeed.


    Anton ;)

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.