Dynamic Creation of TFrxReport

edited 11:21AM in FastReport 4.0
Hai,
I am using FastReport 4.0 along with Delphi 5.I want to view more than one report from my application.The number of reports that i want to see may vary according to time.The thing is,I want to create and Destroy TFrxReport componants dynamically according to requirement.I have the code with me to create it dynamically,But I don't know from where it is
to be destroyed.

Can any one help me to create and destroy TFrxReport dynamically ?.

The method that i am using to create is given below:

frxReportShowReport := TfrxReport.Create(self);
with frxReportShowReport do
begin
PreviewOptions.AllowEdit := False;
PreviewOptions.MDIChild := True;
PreviewOptions.Modal := False;
PreviewOptions.Maximized := True;
ShowProgress := True;
end;
frxReportShowReport.LoadFromFile(1.fr3);
frxReportShowReport.ShowReport;

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.