FilterIndex Property

Example-VB Example-VC++

Returns or sets which of the file filters is highlighted when the dialog box first opens.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Admin control

Syntax

object.FilterIndex[=index]

Data Type

Long

Remarks

The file Open or Save As dialog box is created by the ShowFileDialog method.

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).