foldermonitor OnChange event
Return to Introduction  Previous page  Next page
Applies to
dcFolderMonitor component.  

property OnChange: TNotifyEvent;  

The OnChange event occurs when any changes occurs in the files within selected Folder or in the directory structure. To specify the notification level - use Filter property.  
tip If you are using the FolderMonitor together with dcFolderListView component (FolderMonitor property of the dcFolderListView points to existing dcFolderMonitor), you don't need to handle OnChange event. The FolderListView will refresh the list items on any changes automatically.  

See also
Folder and Filter properties.