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

OnGetRichText Event Question

edited August 2005 in General
I have a RichText comp that the user sets in my app. When printing, there is
a literal I search for to replace with the current time. If I assign the
text at runtime in the OnGetRichText event am I going to lose all my
formatting?

Comments

  • edited August 2005
    Hi Preston,

    You will not loose your formatting if you use the built-in RichText
    functions SelStart, SelLength, SelAttributes to alter the RichText output.
    This will ensure you are only altering the text and not any of the
    formatting code.

    --
    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.