Vcl.ExtDlgs.TSaveTextFileDialog

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ExtDlgs.TOpenTextFileDialogVcl.Dialogs.TOpenDialogVcl.Dialogs.TCommonDialogSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTSaveTextFileDialog

Delphi

TSaveTextFileDialog = class(TOpenTextFileDialog)

C++

class PASCALIMPLEMENTATION TSaveTextFileDialog : public TOpenTextFileDialog

Properties

Type Visibility Source Unit Parent
class public
Vcl.ExtDlgs.pas
Vcl.ExtDlgs.hpp
Vcl.ExtDlgs Vcl.ExtDlgs

Description

TSaveTextFileDialog displays a file-selection dialog.

TSaveTextFileDialog displays a modal Windows dialog box for selecting and opening text files. The dialog does not appear at runtime until it is activated by a call to the Execute method. When the user clicks Open, the dialog closes and the selected files are stored in the Files property.

TSaveTextFileDialog allows the user to select the encoding specific to the text file that is to be saved. This is done by adding encoding items in string form into Encodings and accessing these items by using the EncodingIndex.

Note: Encodings and EncodingIndex are inherited from the TOpenTextFileDialog class.

Note: By default, the following encodings are set: SANSIEncoding, SASCIIEncoding, SUnicodeEncoding, SBigEndianEncoding, SUTF8Encoding, SUTF7Encoding.

See Also


Code Examples