FolderItemDialog.ShowModal

From Xojo Documentation

Method

FolderItemDialog.ShowModal() As Folderitem

Supported for all project types and targets.

Opens the FolderItemDialog. ShowModal returns a Folderitem in Result if the user validates the dialog; otherwise Result is Nil.