Home General

TppDBRichText BackgroundColor

edited October 2011 in General
Hi,

I have a report with a TppDBRichText component and i change it?s backugroung
color with SetBackgroundColor procedure.

In preview, it?s print with the color that i selected . But, when i print
it, the Background Color is change and printing white.

What i have to do to print this component with the Backgroung Color that i
setting in my program?

Thanks
Veridiana

Comments

  • edited October 2011

    The limitation is the MS Windows RichEd dll which is used for rendering,
    draws a white rectangle.

    For RB 12 we implemented some code to work around this limitation, but the
    code is only being used for the case in which Transparent is True.

    I created a patch for RB 12.05 that uses the work around code for the case
    in which Transparent is False and the Color is set to something other than
    white or none. Registered RB 12.05 customers can email support@ and request
    the patch.


    Btw, calling SetBackgroundColor is the same as setting the Color property
    and setting Transparent to False.


    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.