This function calls the standard directory selection window.
Context
Windows client,
Java client,
Adelia Cloud client.
Parameters
<WINDOW> |
Name of the current window. |
|
ALPHA(n) |
Title |
Window title. |
ALPHA(n) |
DirectoryPath |
Initial path. This is the directory selected when the dialog box is opened. To select the current directory, DirectoryPath must be set to ".". To select no directory at all, DirectoryPath must be set to "*BLANK". |
NUM_BIN_4 |
Size |
Size of the DirectoryPath parameter. |
NUM_BIN_2 |
ReturnCode |
Return code for the operation. -2 : The user closed the window, canceling the operation, -1 : The DirectoryPath parameter size is too small, 0 : Internal error, 1 : Operation completed successfully. |
Example
Title = 'Select the destination directory'
FilePath = *BLANK
Size = n
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxOpenDirSelection' MY_WINDOW Title FilePath Size ReturnCode
List of the VaToolBx functions by topic