trichview.support
Re: Saving and loading from stream |
Author |
Message |
Jonas |
Posted: 05/17/2005 0:30:30 Thanks for the help! One question though. How do i change "Allow adding styles dynamically" in runtime? Cause i create the richviewedit in runtime so i cant change the settings by rightclicking. "Sergey Tkachenko" <[email protected]> skrev i meddelandet news:[email protected]... > For example, copying from rv1 to rv2: > > var Stream: TMemoryStream; > > Stream := TMemoryStream.Create; > rv1.SaveRVFToStream(Stream, False); > > Stream.Position := 0; > rv2.LoadRVFFromStream(Stream); > Stream.Free; > > (in order to copy document properly, rv1 and rv2 must be either linked to > RVStyle with the same set of styles, or have "Allow adding styles > dynamically" option set (right click TRichView on the form in Delphi, > choose > "Settings" in the context menu)) > > >> I know, but i dont know how to do it. Ive tried but i cant get it to >> work. > I >> cant say im an expert in the area, so an example would help out alot! >> Thanks. >> > > |
Powered by ABC Amber Outlook Express Converter