[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Searches for files in specified path with passed options.
Source position: fileutil.pas line 164
public procedure TFileSearcher.Search( |
const ASearchPath: String; |
ASearchMask: String = ''''''; |
ASearchSubDirs: Boolean = true; |
AMaskSeparator: Char = ''';''' |
); |
ASearchPath |
|
Base path for searching files. |
ASearchMask |
|
Mask which file should match. |
ASearchSubDirs |
|
If search recursively sub directories. |
Searches for files in specified path. When file is found the OnFileFound event is invoked, for directories OnDirectoryFound event. You can abort searching process by calling Stop method in this events.
|
Is invoked when file is found. |
|
|
Is invoked when directory is found. |
|
|
Stops the searching process. |
lazarus-ccr.sourceforge.net |