[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event handler signalled when a new directory is found in the Search method.
Source position: fileutil.pas line 152
public property TFileSearcher.OnDirectoryFound : TDirectoryFoundEvent |
OnDirectoryFound is a TDirectoryFoundEvent property with the event handler signalled when a new directory is found in the Search method. It is signalled after values in the Path, FileInfo, and Level properties have been updated in the file iterator.
An application must implement and assign an object procedure to the handler to respond to the event notification. The FileIterator argument is the TFileIterator instance for the event notification, and allows access to its properties and methods. Call the Stop method in FileIterator to stop the search process.
Use OnDirectoryEnter to perform actions needed when a new directory is processed in the search method.
|
Searches for files or directories in the specified path(s) using the specified options. |
|
|
File attribute needed for directories considered a match in the Search method. |
|
|
Event handler signalled when a new directory is processed in the Search method. |
|
|
Implements an iterator for file and directory names on the local file system. |
|
|
Contains the path to the current file or directory in the iterator. |
|
|
Contains file information for the current entry in the iterator. |
|
|
Gets the current directory level relative to the base search path. |
|
|
Specifies an event handler signalled when a directory is found for the specified iterator. |
Version 3.2 | Generated 2024-02-25 | Home |