ImageEn, unit iexFolderTree |
|
TIEFileListBox.ExclusionMask
Declaration
property ExclusionMask: String;
Description
Specify any file types that you do not want to be added to the grid. Must be a comma-separated list of file extensions (e.g. 'lyr,all,iev')
Note: These types will be excluded regardless of your setting for
FileTypes// Retrieve all images except JPEGs
IEFileListBox1.Items.BeginUpdate();
try
IEFileListBox1.Folder := 'C:\Images\';
IEFileListBox1.FileTypes := iefAllImages;
IEFileListBox1.ExclusionMask := 'jpg,jpeg,jpe';
finally
// Re-enable updating and refresh file list
IEFileListBox1.Items.EndUpdate();
end;
See Also
◼Folder◼FileTypes◼FileTypesMask