trichview.com

trichview.support




saving selected text to a stream


Return to index


Author

Message

King

Posted: 05/28/2003 22:52:49


im trying to save the selected text to a stream so it will preserve the formating

(so i wont loose bold and stuff)


anyways, i cant get it to work.. here is some simple code i have tried..

maybe someone can tell me whats wrong..


procedure TForm1.Button3Click(Sender: TObject);

var

  one : TMemoryStream;

begin

  one := TMemoryStream.Create;

  rve.SaveRVFToStream(one,true);


  rve.InsertRVFFromStreamEd(one);

  rve.InsertRVFFromStreamEd(one);

end;


now i was hoping that that would copy the selected text a few times! but

nothing happens





Powered by ABC Amber Outlook Express Converter