richview1.loadrvf and filename

General TRichView support forum. Please post your questions here
Post Reply
piet van Blokland
Posts: 6
Joined: Fri Sep 09, 2005 2:17 pm

richview1.loadrvf and filename

Post by piet van Blokland »

Hi

If I use richviewedit1.loadrvf('name file') to load a file then richviewedit1 does not remember the file name when I try to save the file.

How to change the name of the file by programming?

with regards

Piet
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

If you use RichViewActions, they store file names (when TrvActionOpen loads a file itself, or when you call its LoadFile method).
But if you do not use RichViewActions, you need to store a file name yourself. For example, see the demo in Demos\*\Editors\Editor 2\.
Post Reply