wb_sys_dlg_path

string wb_sys_dlg_path (int parent [, string title [, string path]])

Displays the standard Select Path dialog box. Returns the name of the selected path, if any, or a blank string if the dialog box was canceled. Returns NULL if not successful.

Parameters

parent is a handle to the WinBinder object that will serve as the parent for the dialog box.
title is an optional string to be displayed in the dialog box.
path is an optional folder used to initialize the dialog box.

Example

// Snippet showing how to use a standard Path dialog box

$path = wb_sys_dlg_path($window, 'Select path', $currentpath);
if($path)
   // Do action here
}

See also

wb_sys_dlg_open
Dialog functions