folderSelector()
Opens the folder selector dialog and writes the name of the selected folder to the string variable "path".
Synopsis
int folderSelector(string path);
Parameters
Parameter | Description |
---|---|
path | path of the selected folders |
Return value
If OK then 1, otherwise 0
Description
Opens the folder selector dialog and writes the name of a selected folder to the string variable "path". The valid content of the variable "path" is an absolute path string. The folder dialog opens with the folder "path".
The following example opens the folder dialog and debugs the folder in the log viewer.
main()
{
int x;
string f;
x=folderSelector(f);
DebugN(f); // the selected folder
}
Disable File Actions Code Snippet
string folder = getPath(DATA_REL_PATH);
folderSelector(folder, false);
Assignment
Availability
UI