Vcl.Dialogs.TFileSaveDialog.FileTypeIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FileTypeIndex: Cardinal read FFileTypeIndex write FFileTypeIndex default 1;

C++

__property FileTypeIndex = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TFileSaveDialog

Description

Determines which filter is selected by default when the dialog opens.

Vcl.Dialogs.TFileSaveDialog.FileTypeIndex inherits from Vcl.Dialogs.TCustomFileDialog.FileTypeIndex. All content below this line refers to Vcl.Dialogs.TCustomFileDialog.FileTypeIndex.

Determines which filter is selected by default when the dialog opens.

FileTypeIndex determines which of the file types in FileTypes is selected by default when the dialog opens. Set FileTypeIndex to 1 to choose the first file type in the list as the default, or set FileTypeIndex to 2 to choose the second file type as the default, and so forth. If the value of FileTypeIndex is out or range, the first file type listed in FileTypes is the default.

See Also