FolderItem.ShowSelectFolderDialog
From Xojo Documentation
Shared Method
Displays a dialog box similar to the open-file dialog allowing the user to select a folder rather than a file.
Syntax
result=ShowSelectFolderDialog
Part | Type | Description |
---|---|---|
result | FolderItem | The folder the user selected. |
Notes
The ShowSelectFolderDialog function displays a dialog box similar to the open-file dialog box displayed by the FolderItem.ShowOpenFileDialog function. The difference is that the dialog box displayed by the ShowSelectFolderDialog 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
FolderItem.ShowOpenFileDialog, FolderItem.ShowSaveFileDialog functions; SelectFolderDialog class.