@DIRDLG |
|
| Top Previous Next | |
Syntax:
@DIRDLG(<caption> , <path> { , <shownewfolderbutton>} )
Description:
This function displays a standard browser dialog which allows the user to choose a directory, returning the selected directory name when the dialog is closed. The optional caption specifies the text to appear above the browser window.
The directory browser will open with the specified directory selected (<path>). If no argument is specified the default is "My Computer".
The folder browser can optionally display a button captioned "New Folder" which can be used to create a new folder at the current selection point. The third argument <shownewfolderbutton> must be non-null if you want the button to be displayed.
OK:
True if dialog was closed with the OK button, otherwise false.
Example:
%D = @dirdlg()
See also: