From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
| This item was deprecated in version 2019r2.
Please use FolderItem.ShowSelectFolderDialog as a replacement.
Supported PlatformsProject Types: Desktop Platforms: macOS, Windows, Linux
Displays a dialog box similar to the open-file dialog allowing the user to select a folder rather than a file.
|result||FolderItem||The folder the user selected.|
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.
This example displays the name of the folder the user chose.