Page 1 of 1

Save As dialog when using save

Posted: Mon Apr 14, 2014 7:41 am
by starhu
Hello,

I have a form with a ScaleRichView on it.

I load a file like this: FormScaleRichView.rvActionOpen1.LoadFile(FormScaleRichView.SRichViewEdit1.RichViewEdit,
MyFileName, ffiRVF);

FormScaleRichView.SRichViewEdit1.Format;

The problem is that each time I press Ctrl+S to save, instead of saving to the file name I loaded before, the Save As choose filename dialog pops up.

How can I prevent this?

Thank you.

Posted: Mon Apr 14, 2014 1:55 pm
by Sergey Tkachenko
It must not happen. Can you reproduce it in a simple project and send this project to me (richviewgmailcom)?

PS: Format is not needed after rvActionOpen.LoadFile.

Posted: Tue Apr 15, 2014 7:31 am
by starhu
The form wasn't destroyed at close that caused the problem at second open.