[Overview][Types][Classes][Procedures and functions][Index] |
Fills the tree view when the Root directory is empty.
Source position: shellctrls.pas line 132
public procedure TCustomShellTreeView.PopulateWithBaseFiles; |
Remark: | The implementation of PopulateWithBaseFiles is platform-specific. |
For Windows platforms other than Windows CE, the tree view is filled with TShellTreeNode entries for the logical drive names found on the system. The drive information is retrieved using the GetLogicalDriveStrings routine in the Windows API.
For other platforms, which do not use drive letters, the tree view is populated with nodes for the files or directories in the base path for the control.
PopulateWithBaseFiles is called from the Loaded, SetRoot, and SetFileSortType methods when an empty string ('') is assigned to the Root property.
No actions are performed in the method at design-time, or when the component is loaded using the LCL streaming mechanism on platforms other than Windows.
Version 4.0 | Generated 2025-05-03 | Home |