[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lazutils)

TFileFoundEvent

Specifies an event handler signalled when a file name is found for the specified iterator.

Declaration

Source position: fileutil.pas line 121

type TFileFoundEvent = procedure(

  FileIterator: TFileIterator

) of object;

Arguments

FileIterator

  

File iterator with the file information for the event.

Description

TFileFoundEvent is an object procedure type which specifies an event handler signalled when a file name is found using the specified iterator. FileIterator contains the TFileIterator instance for the event notification.

TFileFoundEvent is the type used to implement the TFileSearcher.OnFileFound event handler. Applications can implement a procedure using the event signature to perform actions needed to process the file in a FileIterator.

See also

TFileSearcher.Search

  

Searches for files or directories in the specified path(s) using the specified options.

TFileSearcher.OnFileFound

  

Event handler signalled when a file matching the file mask is found in the Search method.


Version 3.2 Generated 2024-02-25 Home