WINOPENDIR()

Opens a dialog window to get a directory path on the front-end workstation.

Syntax

WINOPENDIR(
   dirname STRING,
   caption STRING )
  RETURNING result STRING
  1. dirname is the default path to be displayed in the dialog window.
  2. caption is the label to be displayed.

Usage

This function opens a dialog window to let the user select a directory path on the front end workstation file system.

The function returns the directory path on success.

The function returns NULL if a problem has occurred or if the user canceled the dialog.

Important: This function is provided for backward compatibility and should be avoided to run your programs with different sort of front-ends. It must be called after the front-end connection was established.