TCnFolderBrowserDialog.RootFolder Property
Gets or sets the descriptive text displayed above the tree view control in the dialog box.
published property RootFolder: TSpecialFolder read GetRootFolder write SetRootFolder default TSpecialFolder.sfDesktop;
Property Value
Type: TSpecialFolder
One of the CNClrLib.Control.EnumTypes.TSpecialFolder values. The default is Desktop.
Only the specified folder and any subfolders that are beneath it will appear in the dialog box and be selectable. The SelectedPath property, along with RootFolder, determines what the selected folder will be when the dialog box is displayed, as long as SelectedPath is an absolute path that is a subfolder of RootFolder (or more accurately, points to a subfolder of the shell namespace represented by RootFolder).