Skip to content

TElectronSaveDialog

Description

Below is a list of the most important properties and methods for TElectronSaveDialog. This component allows to display a native save dialog.

Designtime Runtime

Properties for TElectronSaveDialog

Property Description
ButtonLabel: string Sets the text that will be shown inside the default "Save" button.
DefaultPath: string Sets the default path where the dialog is opened.
FileName: string Returns the filename with full path that has been saved.
Filters: string Sets the file type filters.
Title: string Sets the title of the save window.

Methods for TElectronSaveDialog

Property Description
Execute(AProc: TSelectSaveFileCallBack) Function to show the save dialog. The AProc parameter is a method pointer for a method that is called when the dialog is closed. Any result from the dialog is available through the callback.

See example usage at TElectronStringList: Example 2.