[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Clears the selected items for the list view control.
Source position: comctrls.pp line 1644
public procedure TCustomListView.ClearSelection; |
ClearSelection is a method used to remove the selected attribute for one or more of the Items in the list view control.
When MultiSelect is enabled, the widgetset class instance calls its SelectAll method to set Selected attributes to False. The ClearSelection method in Items is also called to clear the Selected attributes stored in the class instance.
If MultiSelect is not enabled, the entry in Items at the position in ItemIndex sets its Selected property to False.
|
Collection of list items displayed on the list view control. |
|
|
Allows simultaneous selection of one or more list items using Ctrl+Click, Shift+Click, Ctrl+Shift+Click, or using program code. |
|
|
Whether this Item has been Selected (often denoted by a check-mark). |
|
|
Clears the selected state for all TListItem instances in the container. |
Version 3.2 | Generated 2024-02-25 | Home |