Product Logo

CNS Barcode

Scan and Generate Barcodes

Functions

CNSBC_Folder_SelectWithDialog

NameCNSBC_Folder_SelectWithDialog
Description

Presents the user with a standard select folder dialog and returns the path to the chosen folder.

Return TypeText
FormatCNSBC_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.

CNSBC_Folder_SelectWithDialog
Example 2

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

CNSBC_Folder_SelectWithDialog ( "c:\images" )
Example 3

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

CNSBC_Folder_SelectWithDialog ( "/Images/" )
Example 4

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

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