| FindFiles | () | |
| Procedure to find files based on the current configuration. | ||
| Cancel | () | |
| Interrupts the FindFiles procedure. | ||
| Cancelled | boolean | |
| Shows whether the last call toFindFiles was interrupted. | ||
| FileMask | string | |
| The file mask to search for. Separate entries with a semi-colon. For example: FindFile1.FileMask := '*.pas; *.dfm'; |
||
| RecurseDirectories | boolean | |
| Whether FindFiles should also search subdirectories of RootDirectory. | ||
| RootDirectory | string | |
| The directory to start searching from. | ||
| OnCancel | TNotifyEvent | |
| An event invoked when FindFiles is cancelled. | ||
| OnDirFound | TssDirFoundEvent | |
| An event invoked when a directory is found. | ||
| OnFileFound | TssFileFoundEvent | |
| An event invoked when a matching file is found. | ||
Types
TssDirFoundEvent = procedure(Sender: TObject; DirName: string) of object;
TssFileFoundEvent = procedure(Sender: TObject; LongFileName, ShortFileName, Path: string; FileAttributes: TFileType; CreationTime, LastWriteTime, LastAccessTime: TDateTime; FileSize: cardinal) of object;
Copyright © 2000-2010 Simon Armstrong. All Rights Reserved.
