trichview.com

trichview.support




Re: Displaying RTF formated text from a database


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/17/2004 21:32:21


Right click TRichViewEdit in Delphi, choose "Settings" in the context menu,

select the option "Allow adding styles dynamically".

If you use TDBRichViewEdit, also set its AutoDeleteUnusedStyles property to

True.


>

> My purpose is to display RTF formated text (copied from a rtf file made

with

> MS Word 97) stored in database text fields through a TRichView or

TRichViewEdit

> component.

> By using the clipboard (PasteText method), I keep the overall presentation

> of the text but loses bold,underlined and other formats. (PasteRTF doesn't

> work)

> Is there a mean of keeping those formats (without, if possible, using a

FileStream)

> ?

> Much thanks in advance for you help.

>

>                                         Pierre

>





Powered by ABC Amber Outlook Express Converter