Page 1 of 1

richview1.loadrvf and filename

Posted: Wed Jul 20, 2011 9:00 am
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

Posted: Fri Jul 22, 2011 5:55 am
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\.