ppDBRichText Font
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.
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.
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com