diff --git a/docs/xml/lcl/dialogs.xml b/docs/xml/lcl/dialogs.xml index 83438880dc..204cdf04cd 100644 --- a/docs/xml/lcl/dialogs.xml +++ b/docs/xml/lcl/dialogs.xml @@ -1881,23 +1881,46 @@ signalled first.

-Save Dialog: invoked when the application requires to save a file. +TSaveDialog is a TOpenDialog descendant which +implements a dialog used when an application needs to save a file. It is a +wrapper for the native Save / Save As dialogs on the platforms where the LCL +is supported.

-If the file is already open or a filename has been specified, then the -current buffer is written to that file. If no file is specified, the Save -File As dialog is invoked and the buffer is saved to that file. +TSaveDialog extends the ancestor class to provide the correct default title +for the derived dialog class. +

+

+TSaveDialog is used to implement the TFileSaveAs dialog defined in the +stdactns.pas unit.

+ + +TFileSaveAs + - - - + +Gets the default title used for the Save Dialog. + +

+DefaultTitle is overridden in TSaveDialog to return the +default title for the dialog. Uses the value in rsfdFileSaveAs as +the return value. +

+

+Used in the inherited constructor to set the default value for the +Title property. +

+
+ + +rsfdFileSaveAs
@@ -1909,12 +1932,14 @@ File As dialog is invoked and the buffer is saved to that file.

Create is the overridden constructor for the class instance, and -calls the inherited constructor on entry. Create update the component style -flags to the value used for the dialog type. +calls the inherited constructor on entry. Create updates the component style +flags to the value needed (csSaveFileDialog) for the dialog type.

+ +csSaveFileDialog
@@ -2037,6 +2062,7 @@ Owner of the class instance used in notification events.
+ TColorDialog - dialog for selecting a color to use in graphics and