trichview.com

trichview.support




Re: Copying Item's Text


Return to index


Author

Message

Sergey Tkachenko

Posted: 07/07/2004 21:48:17


For example, you can select this item (SetSelectionBounds), the copy via

RVF:


rv1.SetSelectionBounds(...);

Stream := TMemoryStream.Create;

rv1.SaveRVFToStream(Stream, True);

Stream.Position := 0;


rv2.LoadRVFFromStream(Stream);

rv2.Format;


rv1 and rv2 must both have mode "Allow adding styles dynamically" (can be

set in Delphi in the component's context menu, command "Settings"), or

linked to the same RVStyle


>

> Sir,

> There are two RichViewEdit controls.

> I want to copy one Item's text of Source RichViewEdit to Target

RichViewEdit

> with exact Font info and other info related to Item's text.

> I am able to copy the Text from Source to Target but loosing the font

information.

> Please advise me on this.

>

> With Thanks

> Manoj





Powered by ABC Amber Outlook Express Converter