Hello sergey,
I wonder, how do I open a text saved in database inside another without replacing the page?
thanks
open two texts
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
LoadRTF does not clear a document, so:
For RVF:
Code: Select all
rv.Clear;
rv.LoadRTF(FileName1);
rv.LoadRTF(FileName2);
rv.Format;
Code: Select all
rv.LoadRVF(FileName1);
Stream := TFileStream.Create(FileName2, fmOpenRead);
rv.InsertRVFFromStream(Stream, rv.ItemCount);
Stream.Free;
rv.Format;