Sign in Join
FPDoc Onlineexperiment

TCustomListBox.ClearSelection procedure

Member of TCustomListBoxpublicIn unit StdCtrls

Unselects all items in the control.

Declaration

pascal
procedure ClearSelection

Description

ClearSelection is a procedure used to clear one or more selected items in the control. When MultiSelect is enabled, values in the Selected property are reset to False. Otherwise, the ItemIndex property is set to -1 to indicate that no item is selected in the control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.