Home General

Rich Text

edited April 2010 in General
I'm building a new form in Delphi 2009 and the text of a rich memo field
does not display or print.

Any settings I may be missing ?

Thanks

Mark Mueller

Comments

  • edited April 2010
    Hi Mark,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2010
    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.

    Mark


  • edited April 2010
    Hi 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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.