Product Logo

SMTPit Pro

A Feature-rich Email plug-in

Functions

SMTPit_Folder_SelectWithDialog

NameSMTPit_Folder_SelectWithDialog
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 TypeText
FormatSMTPit_Folder_SelectWithDialog ( 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.

Examples
Example 1

Displays a folder chooser dialog, and returns the path of the chosen folder.

SMTPit_File_SelectFolderWithDialog
Example 2

Displays a folder chooser dialog starting at "images" directory on Windows.

SMTPit_File_SelectFolderWithDialog( "c:\images" )
Example 3

Displays a folder chooser dialog starting at "images" folder on Mac.

SMTPit_File_SelectFolderWithDialog( "/Images/" )
Example 4

Displays a folder chooser with the prompt "Choose a folder...".

SMTPit_File_SelectFolderWithDialog( "" ; "Choose a folder..." )