Page 1 of 1

How to load an RTF-file into a RichViewEdit

Posted: Tue Mar 21, 2017 7:33 pm
by larshgf
Hi,

The RichViewEdit does not have a LoadFromFile method, so how do I "load" my finished rtf-files from a directory?

Best Regards
Lars

Re: How to load an RTF-file into a RichViewEdit

Posted: Wed Mar 22, 2017 7:48 am
by Sergey Tkachenko

Code: Select all

rv.Clear;
rv.LoadRTF(FileName);
rv.Format;

Re: How to load an RTF-file into a RichViewEdit

Posted: Wed Mar 22, 2017 12:56 pm
by larshgf
Thank you!