[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Dialogs' (#lcl)

# TSaveDialog

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TSaveDialog - Dialog for saving the current buffer to a file.

## Declaration

Source position: dialogs.pp line 285

`type TSaveDialog = class(TOpenDialog)`
`protected`
`class procedure WSRegisterClass; override;` |  | Registers this component class with the current WidgetSet.
`function DefaultTitle; override;` |  | Gets the default title used for the Save Dialog.
`public`
`constructor Create(); override;` |  | Constructor for the class instance.
`end;`

## Inheritance

`TSaveDialog` |  | TSaveDialog - Dialog for saving the current buffer to a file.
`TOpenDialog` |  | Implements a File / Open dialog used to select one or more files on the local file system.
`TFileDialog` |  | TFileDialog allows selection of a file from the current directory.
`TCommonDialog` |  | The base type from which other dialogs are derived.
`TLCLComponent` |  | The base class for LCL components which have an associated widget.
`TComponent`
?
`TObject`

## Description

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.

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.

## See also

TOpenDialog |  | Implements a File / Open dialog used to select one or more files on the local file system.
TFileSaveAs |  | TFileSaveAs - standard action (including opening a dialog) associated with the File Save As menu option.