about LoadRVFFromstream
Posted: Tue Jul 10, 2007 5:57 am
sir:
I use LoadRVFFromStream method to insert content from anthoer RichViewedit. The code is here:
These code work well when richviewedit2's content doesn't contain Hyperlink.
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.
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.