Name | POP3it_File_SelectWithDialog |
---|
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_SelectWithDialog ( StartPath ; Prompt ; DialogType ; FileTypes ) |
---|
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.
- DialogType
Specify “GetFile” to show an open file style dialog or “PutFile” to show a save as style dialog. [Default is “GetFile”.]
- FileTypes
Specify a list of allowable file extensions for “GetFile” dialogs or a list of optional file extensions for “PutFile” dialogs. [Default is no file types.]
|
---|
Examples | - Example 1
Displays a file chooser dialog, and returns the path of the chosen file. POP3it_File_SelectWithDialog
- Example 2
Displays a file chooser dialog starting at "images" directory on Windows. POP3it_File_SelectWithDialog( "c:\images" )
- Example 3
Displays a file chooser dialog starting at "images" folder on Mac. POP3it_File_SelectWithDialog( "/Images/" )
- Example 4
Displays a file chooser dialog with the prompt "Choose an email file...". POP3it_File_SelectWithDialog( "" ; "Choose an email file..." )
|
---|