SelectFolder
From Xojo Documentation
This item was deprecated in version 2019r2. Please use FolderItem.ShowSelectFolderDialog as a replacement. |
Supported Platforms Project Types: Desktop Platforms: macOS, Windows, Linux |
Method
Displays a dialog box similar to the open-file dialog allowing the user to select a folder rather than a file.
Syntax
result=SelectFolder
Part | Type | Description |
---|---|---|
result | FolderItem | The folder the user selected. |
Notes
The SelectFolder function displays a dialog box similar to the open-file dialog box displayed by the GetOpenFolderItem function. The difference is that the dialog box displayed by the SelectFolder function allows the user to choose a folder rather than a file.
Examples
This example displays the name of the folder the user chose.
See Also
GetOpenFolderItem, GetSaveFolderItem functions; SelectFolderDialog class.