[Overview][Types][Classes][Procedures and functions][Index] |
Reloads the contents for the list view control and restores the Selected item.
Source position: shellctrls.pas line 294
public procedure TCustomShellListView.UpdateView; |
UpdateView is a method used to repopulate the Items for the control. It ensures that the Selected entry is captured and restored (if assigned and still available) when the file system entries have been reloaded in the method.
UpdateView calls Clear to discard existing entries in Items, and PopulateWithRoot to recreate the entries starting at the path in Root. FindCaption is called to locate and restore the value in Selected.
UpdateView ensures that an associated ShellTreeView control calls its UpdateView method to synchronize the contents for the controls. Root is used as the starting directory for the update.
Added in LCL version 4.0.
|
Indicates the initial directory path whose objects are displayed in the control. |
|
|
Fills the list view with file system information for the directory in Root. |
|
|
Reloads the nodes for tree view control and synchronizes an associated ShellListView control. |
|
|
Clears the Items for the list view. |
|
|
Contains the selected list item in the list view control. |
Version 4.0 | Generated 2025-05-03 | Home |