Which version of ReportBuilder are you using? Are you simply placing a TppRichText component on the form and writing static text or is this a TppDBRichText connected to some RTF data? If you are connecting to data, are you certain the control is actually retrieving any data? Is the component visible?
We are using Delphi 2010 and Report Builder 11.08. This is in an Intraweb application that is generating the report as a PDF. Everything works in the report except the Richtext It is an standard Ricktext component NOT a data-aware version.
If I make an active connection at design time it work but fails at run time.
This is not a known issue with RB 11.08 and PDF. Are you using the built-in PDF device? Try tracing into the RB source to find out where the RTF information is being lost.
For instance, create a simple report with a single RichText control. Trace into the TppRichText.PropertiesToDrawCommand to see if the data is still there. Then perhaps trace into the TppPDFRendererGeneric class to be sure the drawcommand sent is still valid.
Comments
Which version of ReportBuilder are you using? Are you simply placing a
TppRichText component on the form and writing static text or is this a
TppDBRichText connected to some RTF data? If you are connecting to data,
are you certain the control is actually retrieving any data? Is the
component visible?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Intraweb application that is generating the report as a PDF. Everything
works in the report except the Richtext It is an standard Ricktext
component NOT a data-aware version.
If I make an active connection at design time it work but fails at run time.
Mark
This is not a known issue with RB 11.08 and PDF. Are you using the built-in
PDF device? Try tracing into the RB source to find out where the RTF
information is being lost.
For instance, create a simple report with a single RichText control. Trace
into the TppRichText.PropertiesToDrawCommand to see if the data is still
there. Then perhaps trace into the TppPDFRendererGeneric class to be sure
the drawcommand sent is still valid.
Files: ppRichTx.pas, ppPDFRendererGeneric.pas
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com