TCnOpenFileDialog.FilterIndex Property
Gets or sets the index of the filter currently selected in the file dialog box.
published property FilterIndex: Integer read GetFilterIndex write SetFilterIndex default 1;
Property Value
Type: Integer
A value containing the index of the filter currently selected in the file dialog box. The default value is 1.
Use the FilterIndex property to set which filtering option is shown first to the user. You can also use the value of FilterIndex after showing the file dialog to perform special file operations depending upon the filter chosen.
Note |
|---|
The index value of the first filter entry is 1. |
