JCL Help: OpenFolder Function
- Project summary
Search in JCL HelpSearch in all projects
Opens a folder in Explorer.
function OpenFolder(const Path: string; Parent: THandle = 0; Explore: Boolean = False): Boolean;
|Parent: THandle = 0||Handle of the window to serve as the parent of any dialogs displayed.|
|Folder||Path of the folder to open. You can either specify a fully qualified path or a relative one, which will be relative to the current directory.|
If the function succeeds the result is True, otherwise it is False. You can call GetLastError to get more detailed information about the reason of failure.
The OpenFolder function opens Explorer with the specified Folder as the root of the namespace (root of the lefthand treeview).
Marcel van Brakel
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page