opendialog FilterIndex property
Return to Introduction  Previous page  Next page
Applies to
dcOpenDialog and dcSaveDialog components.  

Declaration
property FilterIndex: Integer;  

Description
The FilterIndex property 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 the default, or set FilterIndex to 2 to choose the second file type as the default, and so forth. If the value of FilterIndex is out or range, the first file type listed in Filter is the default.  

See also
Filter property.