TFrxPreview
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
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
After the report is reloaded you issue this command
LetterDM.frxPROLetter.Designer.ReloadReport;