Vcl.ExtDlgs.TOpenTextFileDialog
Delphi
TOpenTextFileDialog = class(TOpenDialog)
C++
class PASCALIMPLEMENTATION TOpenTextFileDialog : public Vcl::Dialogs::TOpenDialog
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.ExtDlgs.pas Vcl.ExtDlgs.hpp |
Vcl.ExtDlgs | Vcl.ExtDlgs |
Description
TOpenTextFileDialog displays a file-selection dialog.
TOpenTextFileDialog 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.
TOpenTextFileDialog allows the user to select the encoding specific to the text file that is to be opened. This is done by adding encoding items in string form into Encodings and accessing them using the EncodingIndex.
Note: By default, the following encodings are set: SANSIEncoding, SASCIIEncoding, SUnicodeEncoding, SBigEndianEncoding, SUTF8Encoding, SUTF7Encoding.
See Also