trichview.com

trichview.support




Re: copying data from one richview to another


Return to index


Author

Message

Sergey Tkachenko

Posted: 07/29/2004 19:15:47


How do you copy it?


The best way is copying via streams:


var Stream: TMemoryStream;


Stream := TMemoryStream.Create;

rvsource.SaveRVFToStream(Stream, False);

Stream.Position := 0;

rvdest.LoadRVFFromStream(Stream);

rvdest.Format;

Stream.Free;


>

> I have a richviewedit in which 5 lines of code are entered. i copy the

data

> from this richviewedit into another richviewedit. then it raises an error

> in crvfdata.pas at the routine TCustomRVFormattedData.FormatLine integer

> overflow. please give a solution to this

>

> thanks.

>

> Regards

> b.v sundarraj





Powered by ABC Amber Outlook Express Converter