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

TListFileSearcher.DoFileFound

Performs actions required to add a file name to the list of matches for the file searcher.

Declaration

Source position: fileutil.pas line 175

protected procedure TListFileSearcher.DoFileFound; override;

Description

DoFileFound is an overridden method in TListFileSearcher. It adds the current value from the FileName property to the internal TStrings member maintained in the class instance. The inherited method is called prior to exit to signal the OnFileFound event handler (when assigned).

DoFileFound is called from the Search method when a file on the local file system is located that matches a given mask.

See also

TFileIterator.FileName

  

The qualified file name for the current file entry.

TFileSearcher.OnFileFound

  

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

TFileSearcher.Search

  

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


Version 4.0 Generated 2025-05-03 Home