Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.15 KB

BE_FolderSelectDialog.md

File metadata and controls

44 lines (29 loc) · 1.15 KB

BE_FolderSelectDialog

BE_FolderSelectDialog ( prompt { ; inFolderPath } )

Description

Displays the standard OS select folder dialog with the title of the dialog to the prompt specified, and starting path of the inFolderPath.

Result is the path to the folder selected by the user. Check BE_GetLastError = 1 for when the user hits cancel or a value other than 0 for any other error.

Parameters

  • prompt : The text to display in the dialog.
  • inFolderPath ( optional ) : The folder to start in when opening the dialog. Defaults to the last used folder as determined by the operating system.

Keywords

File Select Dialog

Version History

  • 1.0.0 : First Release
  • 1.3.0 : Added the optional inFolderPath parameter.
  • 2.0.0 : Add New Folder button.
  • 2.2.0 : Update dialogs for new Windows OS versions
  • 4.0.0 : Return error 3, command not available on iOS, Linux and under FMS
  • 4.0.2 : Renamed from BE_SelectFolder

Notes

Notes

Compatibility

Platform Compatibility
Status Active
Mac FMP Yes
Win FMP Yes
FMS No
iOS No
Linux No

Example Code