Page 1 of 1

Problem copying from one RichView blob to another

Posted: Mon Oct 17, 2022 9:30 am
by Ajaz
I use a TDBRichViewEdit to save text and images in a field of a Firebird table.
I want to add this content to the end of another TBDRichView edit, for this, I create a TDBRichview linked to the source table field and save this content to a Tmemorystrem through SaveRVFToStream, to add it to the TBDRichView edit through AppendRVFFromStream.

If the text is without attributes, it copies the text and images without problem. But if anywhere you put text in bold, italics, underline... from that point on it no longer copies the content.

Re: Problem copying from one RichView blob to another

Posted: Mon Oct 17, 2022 10:15 am
by Ajaz
Using TRichView.RVFOptions :=[rvfoSavePicturesBody, rvfoSaveTextStyles, rvfoSaveParaStyles] seems to fix the problem.