FolderItem.Children

From Xojo Documentation

Revision as of 20:10, 24 May 2019 by Gperlman (talk | contribs)
Method

FolderItem.Children(resolveAlias as Boolean) As Iterable

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:

Var DesktopFiles as folderitem = SpecialFolder.Desktop
for each file as folderitem in DesktopFiles
Listbox1.AddRow(file.name)
Next