FilterIndex Property

Applies to TestComplete 15.64, last modified on June 12, 2024

Specifies the file filter that is currently used by the dialog.


Read-Write Property Integer
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TOpenDialog, TSaveDialog


If the dialog has several file filters, use the FilterIndex property to read or set which filter is currently applied. The file filters are specified via the Filter property. The index of the first file filter is 1, the index of second filter is 2 and so on. The default value is 1. If an invalid filter index is specified, the first filter is selected.

Property Value

An integer value indicating the current file filter. The default value is 1.

See Also

Filter Property

Highlight search results