Page 1 of 1

TRichView thread-safe

Posted: Sat May 16, 2020 10:47 pm
by LadyOfWood
Is TRichView is thread-safe? I need use TRichView to process documents that load/save from/to stream LoadRVFFromStream/SaveRVFToStream, html export SaveHTMLToStreamEx, delete and insert items. TRichView used without Parent property set and do not use Format/FormatTail methods at all.

Re: TRichView thread-safe

Posted: Sun May 17, 2020 11:41 am
by Sergey Tkachenko
These methods can be used in threads, but not at the same time for the same TRichView. I.e. you cannot save two files from the same TRichView simultaneously.