foldermonitor Filter property
Return to Introduction  Previous page  Next page
Applies to
dcFolderMonitor component.  

Declaration
type  
  TdcFolderMonitorFilter = (fmFileName, fmDirName, fmAttributes, fmSize, fmWrite, fmAccess, fmSecurity);  
  TdcFolderMonitorFilters = set of TdcFolderMonitorFilter;  
 
property Filter: TdcFolderMonitorFilters;  

Description
The Filter property specifies the level of notification about changes in the files in the directory structure of the Folder.  
 
There are possible filters:  
ValueMeaning  
fmFileNamenotifies you when the file name(s) changed (renamed, deleted, moved or has been created the new file), when True;  
fmDirNamenotifies you when the directory name(s) changed (renamed, deleted, moved or has been created the new directory), when True;  
fmAttributesnotifies when the file attributes in any file is changed, when True;  
fmSizenotifies when the file size changed, when True;  
fmWritenotifies when any file has been modified (WriteTime changed);  
fmAccessnotifies when any file has been accessed (ReadTime changed);  
fmSecuritynotifies when the security attributes has changed (used in WinNT only!).  

See also
Folder property.  
File not found.