<- Back to POP3it Pro function list
POP3it_File_SelectFolderWithDialog
- Description
This function will display a folder chooser dialog. You can set the location to open the dialog to, as well as display a custom prompt message.
- Return Type
- Text
- Format
- POP3it_File_SelectFolderWithDialog ( StartPath ; Prompt )
- Optional Parameters
- StartPath
The Path to the Folder to display when the dialog first opens.
- Prompt
An optional Prompt or Message to display on the Dialog.
- StartPath
- Related Items
- POP3it_File_CreateFolder, POP3it_File_DeleteFolder, POP3it_File_FolderExists, POP3it_File_GetPath
- Examples
Example 1
Code:
POP3it_File_SelectFolderWithDialogResult:
Displays a folder chooser dialog, and returns the path of the chosen folder.Example 2
Code:
POP3it_File_SelectFolderWithDialog("c:\images")Result:
Displays a folder chooser dialog starting at "images" directory on Windows.Example 3
Code:
POP3it_File_SelectFolderWithDialog("/Images/")Result:
Displays a folder chooser dialog starting at "images" folder on Mac.Example 4
Code:
POP3it_File_SelectFolderWithDialog("";"Choose an export folder...")Result:
Displays a folder chooser dialog with the prompt "Choose an export folder...".