<- Back to POP3it Pro function list
POP3it_File_SelectFileWithDialog
- Description
This function will display a file 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_SelectFileWithDialog ( 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_Copy, POP3it_File_Delete, POP3it_File_Exists, POP3it_File_Export, POP3it_File_Import, POP3it_File_Move, POP3it_File_Rename, POP3it_File_Size
- Examples
Example 1
Code:
POP3it_File_SelectFileWithDialogResult:
Displays a file chooser dialog, and returns the path of the chosen file.Example 2
Code:
POP3it_File_SelectFileWithDialog("c:\images")Result:
Displays a file chooser dialog starting at "images" directory on Windows.Example 3
Code:
POP3it_File_SelectFileWithDialog("/Images/")Result:
Displays a file chooser dialog starting at "images" folder on Mac.Example 4
Code:
POP3it_File_SelectFileWithDialog("";"Choose an email file...")Result:
Displays a file chooser dialog with the prompt "Choose an email file...".