| Unit: |
SDL_foldertree |
| Class: |
TFolderTree |
| Declaration: |
[1] function GetSubDirs (node: TTreeNode; DirList: TStringList): boolean; overload;
[2] function GetSubDirs (path: string; DirList: TStringList): boolean; overload;
|
The function GetSubDirs returns the subdirectories of a particular folder. The folder may be specified either by its tree node (parameter node in version [1]), or by the path (parameter path in version [2]). The function returns TRUE if both the specified path is valid and the directory has at least one subdirectory. The list of available subdirectories is returned in the parameter DirList.
| Hint: |
Please note that the TStringList object DirList has to created prior to the call of GetSubDirs. |
|