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?
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.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com