Properties


Options
Set of flags specifying what file-system properties to watch. They are self-descriptive:
  • foNotifyFilename: files names
  • foNotifyDirname: directories names
  • foNotifyAttributes: attributes
  • foNotifySize: files sizes
  • foNotifyLastWrite: last modification time
  • foNotifyLastAccess: last access time
  • foNotifyCreation: creation time
  • foNotifySecurity: NTFS security attributes
Notes:
  • foNotifyDirname and foNotifySecurity options apply only for a directory (when Directory property is set).
DirectoryName of directory to watch.
See note for FileName.
FileNameName of file to watch.
Note:
  • You may set Directory or FileName, not both of them.
SubtreeEnables watching of subdirectories of specified directory. Applies only for a directory.
Enabled (public)Alternative to Start/Stop methods to increase readability of your source. When set to True it calls Start, when set to False it calls Stop.