wxdirectorydialog()
Description
Displays a dialog (normally an OS common dialog) to allow the selection of a directory name. This can optionally have an new directory button on those OS's that have the new directory button support in their common dialog for selecting directories.
Prototype
wxdirectorydialog (
type(wxdialogparent) ,
string parent,
string message,
string defaultdirectory,
string style,
string directory )
result
Parameters
| Parameter | Default value | Type name | Description |
|---|---|---|---|
| parent | .nul | type(wxdialogparent) | Gives the parent of the common dialog, if any. |
| message | "" | string | The text shown in the title bar of the common dialog. |
| defaultdirectory | "" | string | The directory in which the dialog first starts. If this is "" then it will start in the current directory. |
| style | "" | string |
This is either the empty string ("") or
newdirectorybutton.
|
| directory | .nul | string | The selected directory will be returned in the string object passed as this parameter. It must be an existing (preinitialized) object. |
| result | .nul | string |
The result (either "ok" or "cancel")
will be returned in the string object passed as this parameter. It
must be an existing (preinitialized) object.
|


