ImageEn, unit iexFolderMView

TImageEnFolderMView.ExclusionMask

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


Example

// Retrieve all images except JPEGs
IEFolderMView1.LockUpdate();
try
  IEFolderMView1.Folder := 'C:\Images\';
  IEFolderMView1.FileTypes := iefAllImages;
  IEFolderMView1.ExclusionMask := 'jpg,jpeg,jpe';
finally
  // Re-enable updating and refresh file list
  IEFolderMView1.UnlockUpdate();
end;


See Also

 Folder
 FileTypes
 FileTypesMask
 Filter
 SetFolderEx