EAGLE Help

dlgDirectory()


Function
Displays a directory dialog.

Syntax
string dlgDirectory(string Title[, string Start])

Returns
The dlgDirectory function returns the full pathname of the selected directory.
If the user has cancelled the dialog, the result will be an empty string.

Description
The dlgDirectory function displays a directory dialog from which the user can select a directory.

Title will be used as the dialog's title.

If Start is not empty, it will be used as the starting point for the dlgDirectory.

See also dlgFileOpen

Example

string dirName;
dirName = dlgDirectory("Select a directory", "");

Index Copyright © 2005 CadSoft Computer GmbH