Initial directory for Save-, Saveas-, Open- Dialogs

General TRichView support forum. Please post your questions here
Post Reply
holger
Posts: 1
Joined: Wed Mar 08, 2006 7:58 am
Location: Germany / Lüdenscheid
Contact:

Initial directory for Save-, Saveas-, Open- Dialogs

Post by holger »

Hello,
I want to set the Directory for Save-, Saveas-, Open- Dialogs.
How could I do this?

Thanks for any answer
Holger
Sergey Tkachenko
Site Admin
Posts: 17310
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Open: rvActionOpen.InitialDir property (published)
Save and SaveAs: If the opened file directory is defined, it is used. Otherwise, rvActionSaveAs.InitialDir (published)
Export: If rvActionExport.FileName (public) is empty, rvActionExport.InitialDir (published) is used. After exporting, the chosen file name (with full path) is assigned to rvActionExport.FileName, if rvActionExport.AutoUpdateFileName=True (True by default, published)
Insert Picture: The same as for export, but for rvActionInsertPicture action.
Insert File: Must be the same as for export, but for rvActionInsertFile action. But by mistake, rvActionInsertFile.InitialDir is not used. Will be fixed.
Post Reply