RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomFileDialog.FileTypeIndex Property

Determines which filter is selected by default when the dialog opens.

Pascal
property FileTypeIndex: Cardinal;
C++
__property unsigned FileTypeIndex;

FileTypeIndex determines which of the file types in FileTypes is selected by default when the dialog opens. Set FileTypeIndex to 1 to choose the first file type in the list as the default, or set FileTypeIndex to 2 to choose the second file type as the default, and so forth. If the value of FileTypeIndex is out or range, the first file type listed in FileTypes is the default. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!