I use LoadRVFFromStream method to insert content from anthoer RichViewedit. The code is here:
Code: Select all
RichViewEdit1.Clear;
bs:=TMemoryStream.Create;
richviewedit2.SaveRVFToStream(bs,false);
bs.Position:=0;
RichViewEdit1.LoadRVFFromStream(bs);
RichViewEdit1.Format;
bs.Free;
If in richviededit2's content, I insert one hyperlink(using Richviewaction), one error then occur. Error code like this "...... is not valid integer value".
How can I resovle this question ?
Thank you.