Vcl.Dialogs.TFileSaveDialog.FileTypes
Delphi
property FileTypes: TFileTypeItems read FFileTypes write SetFileTypes;
C++
__property FileTypes;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Dialogs.pas Vcl.Dialogs.hpp |
Vcl.Dialogs | TFileSaveDialog |
Description
Determines the file type masks (filters) available in the dialog.
Vcl.Dialogs.TFileSaveDialog.FileTypes inherits from Vcl.Dialogs.TCustomFileDialog.FileTypes. All content below this line refers to Vcl.Dialogs.TCustomFileDialog.FileTypes.
Determines the file type masks (filters) available in the dialog.
FileTypes is an instance of TFileTypeItems containing a list of file types, each of which is an instance of TFileTypeItem.
To add file types to a dialog, get the TFileTypeItems instance from FileTypes and use the TFileTypeItems.Add method as in this sample:
with FileOpenDialog1.FileTypes.Add do begin DisplayName := ‘All Files’; FileMask := ‘*.*’; end;