Salesforce

ClientDirDlg (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

ClientDirDlg (Magic xpa 4.x)

Opens a Windows Directory dialog box and returns the selected directory.

Syntax:

ClientDirDlg (description, initial directory, show new folder)

Parameters:

description – The description text that appears in the caption of the dialog box.

initial directory – The name and path of the initial directory. A blank value will use the last directory chosen.

show new folder – Logical. Setting this value to Yes will show the New Folder button.

Returns:

An Alpha string that contains the full path of the selected file.

If the selected path does not exist, this function opens the current work directory.

Pressing the ESC or Cancel button returns an empty string.

Example:

ClientDirDlg ('Select a folder', 'c:\temp\', 'TRUE'LOG) – Opens a Dir dialog box with default of C:\temp.

Note:

This is a client-side function that is only available for Rich Client tasks.

Exceptions:

This function is not supported in Web Client tasks.

Platform specific:

This function is not supported for mobile devices.

See also:

The Rich Client Samples project (program REL18)

Since version: 1.5

Reference
Attachment 
Attachment