Sign in Join
FPDoc Onlineexperiment

TFileFoundEvent procedure type

In unit FileUtil

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

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.