hide reports dialog page

edited 3:30AM in FastReport 4.0
Hi,

I have a report with dialog page and want to prepare report without showing it.

frxReport.Clear;
frxReport.LoadFromFile('C:\1.fr3');
frxReport.PrepareReport;

After this dialog form shows up, which I dont need. Visible:=False wont work, because all events will be lost.

Any suggestions how to do this the other way?

Thanks in advance,

BR
kirov

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 3:30AM
    frxReport.Clear;
    frxReport.LoadFromFile('C:\1.fr3');
    do it here
    before calling preparereport use the find object method to find and set the props of the objects you want to set
    frxReport.PrepareReport;

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.