[Overview][Types][Classes][Procedures and functions][Index] |
Path to the directory displayed in the shell control.
Source position: shellctrls.pas line 138
public property TCustomShellTreeView.Path : string |
Path is a String property which represents the path on the local file system to the Selected tree node in the control.
Reading the value for the property calls the GetPathFromNode method to derive the value for the property using the Selected tree node. The full path for the TShellTreeNode is used, with a path delimiter appended for a directory entry. If the path is not absolute, the base path name is prepended to the path value.
Setting the value for the property causes the the new value to be resolved to a fully qualified path name when needed. A relative path is expanded into a fully qualified absolute path value resolved relative to the base path in Root.
An EInvalidPath exception is raised when setting Path to a value that is not valid, including: