trichview.support
| Re: saving selected text to a stream | 
| Author | Message | 
| Sergey Tkachenko | Posted: 05/29/2003 13:39:57 Call one.Position := 0; before each InsertRVFFromStream. > > 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