TListItems.ClearSelection procedure
Clears the selected state for all TListItem instances in the container.
Declaration
procedure ClearSelectionDescription
ClearSelection iterates over the values in
Item and
updates a TListItem instance when its State flags include the value
lisSelected. The lisSelected flag value is removed from the internal member
for the TListItem instance(s). The OnSelectItem event handler for the list
view control is signalled (when assigned) for each of the Item instances
updated in the method.
Use SelectAll to select all of the list items in the container.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
