[Overview][Types][Classes][Procedures and functions][Index] |
Finds all files/directories directly inside a directory
Source position: shellctrls.pas line 86
public class procedure TCustomShellTreeView.GetFilesInDir( |
const ABaseDir: string; |
AMask: string; |
AObjectTypes: TObjectTypes; |
AResult: TStrings; |
AFileSortType: TFileSortType = fstNone |
); |
ABaseDir |
|
The base directory |
AMask |
|
A list of masks to utilize to obtain only files which match this mask. The masks should be separated by a semi-comma. For example: "*.exe;*.txt" |
AObjectTypes |
|
The kinds of objects to add to the list |
AResult |
|
A TStringList object already created should be provided in this parameter to receive the resulting list of files |
AFileSortType |
|
Indicates how to sort the items in the list |
Helper routine. Finds all files/directories directly inside a directory. Does not recurse inside subdirectories.
AMask may contain multiple file masks separated by ";". Don't add a final ";" after the last mask.
lazarus-ccr.sourceforge.net |