Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TQRRichText and Riched20

64 views
Skip to first unread message

npu...@gmail.com

unread,
Feb 24, 2009, 6:04:48 AM2/24/09
to
Hello everyone!!!!

I have this issue I'd like to solve: I have a report with a
TQRRichText in a childband. I have also some formatted data as
Riched20. If I use a Richedit, loading data through a TStreamString,
then doing QRRichedit1->Lines = Richedit1->Lines would lose the
formatting.
if I use a RxRichEdit (a wrapper of Riched20) doing QRRichedit1->Lines
= RxRichEdit->Lines, would lose the formatting.
BUT, if I do:

QRRichEdit1->Lines->LoadFromStream(stream); where stream
contains the Richedit20 formatted data, it would show correctly but it
won't autostretch the component and it shows only the first row...
even if I have AutoStretch and WordWrap properties set to true....
Do you have any suggest for this little issue?...

Thanks to all!!
Luigino

0 new messages