Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

ppDBRichText Font

edited July 2005 in General
I can't seem to set the font in a ppDBRichText component. In Quick Report
there is a font property in the object inspector and it works nicely, but
with Report Builder there isn't. If I set the font in the drop-down box in
the design screen, it doesn't change the font in the component. I tried to
set the font in the program (ppDBRichText.Font.Size = ), but that didn't
work. I have just started to convert my reports from Quick Report to Report
Builder (Delphi 7, Report Builder 7.02 Std). Thanks in advance for any help.

Comments

  • edited July 2005
    Hi Stan,

    In order to change the format of the text inside a RichText component in RB,
    you will need to use the SelText, SelLength, SelStart, and SelAttributes
    properties. These are all documented in the ReportBuilder help file and are
    identical to their respective properties in the Delphi TRichEdit component.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2005
    Thanks. That worked.


This discussion has been closed.