
Contents |
Prompt user to select a path with an Open Path dialog.
X-Function not designed for Auto GetN Dialog.
1. dlgPath;
2. dlgPath path:=mypath;
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| path |
Output string | |
The string that will receive path and name of the user's chosen file. | |
| title |
Input string | |
Optional string used to set the dialog's title. | |
| init |
Input string | |
Optional string used to set start path when dialog open. | |
| showfiles |
Input int | |
Used to determine if show files under select path or not. |
This X-Function opens a dialog to enable you to select a path and store it into a variable.
If you want to store a path into the system variable path$, use the following command:
dlgPath;
If you want to store a path into the variable strMyPath$, use the following command:
dlgPath strMyPath;