Hi!
How could I change the filename after Importing a *.DOC ??
To see it when I close the APP and the question appers "Save changes in xxx?"
Thanks!!!!
Stevie
Changing filename automatic after Import...
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
If you want to change file name for new documents, use RVAControlPanel.DefaultFileName (change it before execution of TrvActionNew).
If you want to change file name for document with assigned name (assigned after executing TrvActionOpen or TrvActionSaveAs), you can use TrvActionSave.Documents:
If you want to change file name for document with assigned name (assigned after executing TrvActionOpen or TrvActionSaveAs), you can use TrvActionSave.Documents:
Code: Select all
TrvaDocumentInfo(rvActionSave1.Documents[rvActionSave1.FindDoc(RichViewEdit1)]).FileName := ...
Thanks!Sergey Tkachenko wrote:If you want to change file name for new documents, use RVAControlPanel.DefaultFileName (change it before execution of TrvActionNew).
If you want to change file name for document with assigned name (assigned after executing TrvActionOpen or TrvActionSaveAs), you can use TrvActionSave.Documents:Code: Select all
TrvaDocumentInfo(rvActionSave1.Documents[rvActionSave1.FindDoc(RichViewEdit1)]).FileName := ...
Excellent Help!