The difference is that TSaveDialog
uses standard windows and TFileSaveDialog
uses the visual of Vista.
According to the website http://docs.embarcadero.com the following information:
Tsavedialog
TSaveDialog
shows a modal dialog window to select the file name and save it. The dialog window does not appear during execution until it is activated by a call to the execution method.
When the user clicks Save dialog window closes and saves the file name in the property FileName
.
TSaveDialog
is extended from TOpenDialog
which is extended from TCommomDialog
Tfilesavedialog
It is a class for Vista window style. This class is extended from TCustomFileSaveDialog
, this lets you create windows with the Windows Vista style CLSID_FileSaveDialog
and implements the interface of IFileSaveDialog
TFileSaveDialog
is extended from TCustomFileSaveDialog
which is extended from TCustomFileDialog
.
Tcustomfiledialog
Window to open and save files, this abstract base class extends to the file dialog windows for Microsoft Windows Vista style.
Note: In the new versions of Delphi you can use TSaveDialog
, because apparently it detects the operating system and switches to the windows system of the same.
I searched the Delphi documentation and found only Savedialog. Which version is Tfilesavedialog?
– Giancarlo Abel Giulian