TCustomShellTreeView.PopulateWithBaseFiles procedure
Fills the tree view when the Root directory is empty.
Declaration
procedure PopulateWithBaseFilesDescription
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.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
