TFrxPreview

edited 8:19PM in FastReport 4.0
I am loading my letters from a stream to frxLetter which is a TfrxReport and displaying it on a form.
When I load a new letter, I need to click on the data tab and then click the page1 tab to refresh.
How do I refresh the letter in the designer when I load another letter?


LetterDM.frxLetter.EngineOptions.DestroyForms := false;
LetterDM.frxLetter.Preview := frxPreview1;
LetterDM.frxLetter.DesignReportInPanel(Tabsheet14);

Thanks

Comments

  • edited 8:19PM
    The answer is....

    After the report is reloaded you issue this command

    LetterDM.frxPROLetter.Designer.ReloadReport;

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.