Save As dialog when using save

General TRichView support forum. Please post your questions here
Post Reply
starhu
Posts: 49
Joined: Fri Jan 17, 2014 6:33 pm

Save As dialog when using save

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

Post 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.
starhu
Posts: 49
Joined: Fri Jan 17, 2014 6:33 pm

Post by starhu »

The form wasn't destroyed at close that caused the problem at second open.
Post Reply