TFindFile v4.12

Copyright© Kambiz R. Khojasteh. All rights reserved.
Get future component updates from http://www.delphiarea.com.

DESCRIPTION

TFindFile is a non-visual component, which can be used for locating files or folders in the file system and directory tree with an extensive set of conditions.

TFindFile is capable to locate files based on:

In addition, TFindFile can use a separate and dedicated thread to do the search in background.

Note: If you have TNT Unicode Controls, you can install TFindFileW on Delphi 2007 and earlier. TFindFileW is the Unicode version of TFindFile.

PROPERTIES

METHODS

EVENTS

FOLDER META PARAMETERS

Sometimes you may need to exclude subfolders of some folders while you keep searching in subfolders of the other specified folders, or vice versa. In this case, Criteria.Files.Subfolders property does not help anymore. The same is true when you need to set different MinLevel/MaxLevel values for folders you specified.

To solve this problem, this components accepts some special characters in front of each folder or path that you enter in Criteria.Files.Location and Criteria.Files.Paths properties.

The format is quite simple. If you insert a left angle (<) character in front of a folder or path, its subfolders will be excluded from the search. in the other hand, by putting a right angle (>) character in front of a folder or path, its subfolders will be searched.

When you include subfolders of a folder or path, you can specify which directory level is your interest. For this purpose, before the right angle character insert minimum and maximum levels separated by a dash (-) character. If you skip any value, its appropriate property value will be used.

Here are some examples:

<C:\Windows   Searches only 'C:\Windows' directroy without considering its subfolders
>C:\Program Files   Searches 'C:\Program Files' directroy as well as its subfolders
1-2>C:\Program Files   Searches 'C:\Program Files' directroy and its immediate subfolders
2-2>C:\Windows   Searches only immediate subfolders of 'C:\Windows' directroy without considering itself

HISTORY

ACKNOWLEDGEMENT

Special thanks to:

LICENSE

TFindFile component is freeware. You may copy component's files AS LONG AS YOU COPY ALL OF THEM. If you want to change the source code in order to improve the component's features, performance, etc. please send me the new source code so that I can have a look at it. The changed source code should contain descriptions what you have changed, and of course your name. The only thing you MAY NOT CHANGE is the ORIGINAL COPYRIGHT INFORMATION.

DISCLAIMER

TFindFile is provided "AS IS" without any warranty of any kind, either express or implied. The entire risk as to the quality and performance of the software is with you. The author is NOT liable for any DAMAGES resulting from the use and misuse of the component, especially he is NOT liable for DAMAGES that were caused BY ANY VERSION WHICH HAS NOT BEEN PROGRAMMED BY THE AUTHOR HIMSELF.


 END OF DOCUMENT