Difference between revisions of "FolderItem.Children"

From Xojo Documentation

m (Gperlman moved page Folderitem.Children to FolderItem.Children without leaving a redirect)
(No difference)

Revision as of 21:41, 30 May 2019

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