WinBinder Manual/wb sys dlg path

From wiki.swiftlytilting.com

Displays the standard Path dialog box.

Contents

Syntax

string wb_sys_dlg_path ([int parent[, string title [, string path]]]])
  • parent is Parent window of the path dialog, or NULL if the dialog is to have no parent.
  • title is the window title.
  • path presets the path to select

Returns

Returns a string representing the path to use or an empty string, if the action has been cancelled; FALSE, if an error ocurred.

Example

<?

$path 
getcwd();

if(
$path wb_sys_dlg_path(NULL'Select path'$path))
{
   
wb_message_box(NULL$filename);

?>

See also