Exporting RichText to 'Report Emulation Text File'
Hi,
I'm having trouble exporting a report to a file ('Report Emulation...') All
the information get exported except any TppRichText components...
Is this something already fixed on new version of RB? Is there any work
around (other than using TMemo)?
Delphi 5
Report Builder 6.02
TExtraDevice 2.x
thanks,
Luis
I'm having trouble exporting a report to a file ('Report Emulation...') All
the information get exported except any TppRichText components...
Is this something already fixed on new version of RB? Is there any work
around (other than using TMemo)?
Delphi 5
Report Builder 6.02
TExtraDevice 2.x
thanks,
Luis
This discussion has been closed.
Comments
RichText is not supported by the export to report emulation text file.
The only workaround would be to use a memo. In the Report.BeforePrint you
can detect whether the report is printing to file and then set the memo to
visible or not visible.
if Report.FileDevice <> nil then
memo.Visible := True
else
memo.Visible := False;
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
a TRichEdit componentand, assign the data, and retreive the text... however
for some reason the TRishEdit component need to have a parent component and
can't be created on the fly...
Luis
Try using TppRichText.PlainText
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com