FMX.Dialogs.TOpenDialog.FilterIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FilterIndex: Integer read GetFilterIndex write FFilterIndex default 1;

C++

__property int FilterIndex = {read=GetFilterIndex, write=FFilterIndex, default=1};

Properties

Type Visibility Source Unit Parent
property published
FMX.Dialogs.pas
FMX.Dialogs.hpp
FMX.Dialogs TOpenDialog

Description

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

FilterIndex determines which of the file types in Filter is selected by default when the dialog opens. Set FilterIndex to 1 to choose the first file type in the list as default, 2 to choose the second file type as the default, and so on. If the value of FilterIndex is out of range, the last file type listed in Filter is selected by default.

See Also