FilterIndex Property

Specifies which of the file filters is highlighted in the file common dialog box when the dialog box first opens.

Applies To

Image Admin control

Syntax

object.FilterIndex[=index]

Data Type

Long

Remarks

If no filters are specified by the Filter property and the FilterIndex property is set to 0 (zero), then a default filter will be highlighted. If a different filter is selected, the index still remains set to 0.

If a value was set for the Filter property, and a different filter is selected, the index will be updated to reflect the selected filter.

The default value is 0 (zero).

See Also

Filter property

ShowFileDialog method