Page 1 of 1
Which trvActionSave event to use for automatical processes?
Posted: Wed Feb 26, 2014 5:14 pm
by starhu
Hello,
I need to save a docx when the user uses trvActionSave to save the file.
Should I use OnSaving event for that?
Thank you
Posted: Wed Feb 26, 2014 5:18 pm
by Sergey Tkachenko
TrvActionSave cannot save DocX, because it supports only formats that TRichView can load.
And I do not understand how it should work. For example, a user opens "c:\docs\readme.txt'. Should the action save to this file in DocX format?
Posted: Wed Feb 26, 2014 5:24 pm
by starhu
Hello,
1.The user would create a new .rvf file. Then edit it, insert pictures etc.
2.When he saves the .rvf file, to software should save the rvf file and then it should also save (or export) a copy in docx in another folder.
So every save would create 2 files: an rvf file and a docx file.
Thank you
Posted: Wed Feb 26, 2014 9:03 pm
by Sergey Tkachenko
Yes, you can use OnSaving event. It has all necessary parameters for this task.