From d47c2c2d20a6b4fdcddf87192f7626060dcb7d8d Mon Sep 17 00:00:00 2001 From: dsiders Date: Sat, 16 Mar 2024 07:09:33 +0100 Subject: [PATCH] Docs: LazUtils/fileutil. Adds missing TFileSearcher.OnQueryDirectoryEnter topic. --- docs/xml/lazutils/fileutil.xml | 39 +++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/docs/xml/lazutils/fileutil.xml b/docs/xml/lazutils/fileutil.xml index 88379e8df3..762bb526c3 100644 --- a/docs/xml/lazutils/fileutil.xml +++ b/docs/xml/lazutils/fileutil.xml @@ -2137,7 +2137,7 @@ directory is accepted or rejected.

-Added in LCL version 4.0. +Added in LCL version 4.0. @@ -2147,6 +2147,43 @@ Added in LCL version 4.0. + + +Event handler signalled to accept or reject a subdirectory in the Search method. + + +

+OnQueryDirectoryEnter is a TQueryDirectoryFoundEvent +property signalled when a recursive directory search is performed in the Search +method. It allows an application to accept or reject a directory name on a +case-by-case basis even though it matches the path and mask provided to Search. +

+

+Arguments passed to the event handler include information about the current +file system entry, the name for the directory, and a variable argument which +indicates whether the directory is accepted or rejected. See +TQueryDirectoryFoundEvent for more +information. +

+

+OnQueryDirectoryEnter is signalled (when assigned) from the Search method, and +occurs when subdirectory searches have been enabled in the method. +

+

+Use OnQueryFileFound to accept or reject individual file names processed in the +Search method. +

+
+ +Added in LCL version 4.0. + + + + + + +
+ Stores file names matching a search criteria in a TStrings class instance.