1 (edited by livexox 2018-11-14 05:23:18)

Topic: Copy Rich Text Editor With Image

How do you copy the Rich Text box to another Rich Text Box.  I have the following code but this only copies the text.


procedure Expand (sender: string; Action: string);
begin
  //copy rich text
  Form2.RichEdit1.text := Form1.RichEdit1.Text;
  //show window
  Form2.ShowModal;
end;
Post's attachments

Attachment icon Rich Text.zip 701.46 kb, 312 downloads since 2018-11-14 

2 (edited by derek 2018-11-14 09:59:46)

Re: Copy Rich Text Editor With Image

Hi Livexox,
Please have a look at the attached.
(You must be using MVD 5 for RTF support).
Hope this helps,
Derek.

Post's attachments

Attachment icon Rich Text2.zip 1.04 mb, 373 downloads since 2018-11-14 

Re: Copy Rich Text Editor With Image

Thanks alot derek... this worked..

Re: Copy Rich Text Editor With Image

Form2.RichEdit1.TextRTF := Form1.RichEdit1.TextRTF;
Dmitry.