Assign text with formatting into TfrxRichView
What is the best way to transfer formatted text from TCustomRichEdit component in Delphi into report?
I tried to do that via variable, but it looses the formatting?
I tried to do that via variable, but it looses the formatting?
if VarName = 'Content' then Value := RzRichEdit.Text;
Comments
if sender.name = 'Richedit1' then
begin
write code to assign the lines of your delphi richeditcontrol to the lines of the tfrxrichview.
end
For some reason the TfrxRichView doesn't have lines-property visible??
TfrxRichView( Sender ).richedit.lines.assign( RzRichEdit.Lines );