Difference between revisions of "FolderItem.Children"
From Xojo Documentation
Line 14: | Line 14: | ||
==Examples== | ==Examples== | ||
This example adds the names of all the files on the desktop to a listbox: | This example adds the names of all the files on the desktop to a listbox: | ||
− | + | <rbcode> | |
Var DesktopFiles as folderitem = SpecialFolder.Desktop | Var DesktopFiles as folderitem = SpecialFolder.Desktop | ||
for each file as folderitem in DesktopFiles | for each file as folderitem in DesktopFiles | ||
Listbox1.AddRow(file.name) | Listbox1.AddRow(file.name) | ||
Next | Next | ||
+ | </rbcode> |
Revision as of 20:10, 24 May 2019
Method
FolderItem.Children(resolveAlias as Boolean) As Iterable
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
Allow you to iterate through all the files in a folder.
Examples
This example adds the names of all the files on the desktop to a listbox: