How to load an RTF-file into a RichViewEdit

General TRichView support forum. Please post your questions here
Post Reply
larshgf
Posts: 20
Joined: Fri Jan 20, 2017 9:35 am

How to load an RTF-file into a RichViewEdit

Post 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
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

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

Post by Sergey Tkachenko »

Code: Select all

rv.Clear;
rv.LoadRTF(FileName);
rv.Format;
larshgf
Posts: 20
Joined: Fri Jan 20, 2017 9:35 am

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

Post by larshgf »

Thank you!
Post Reply