Sign in Join
FPDoc Onlineexperiment

TCustomListBox.Clear procedure

Member of TCustomListBoxpublicIn unit StdCtrls

Removes all items from the list box control.

Declaration

pascal
procedure Clear; virtual

Description

Clear is a procedure used to remove all values stored in the Items property. Clear calls the Clear method in Items, and sets the value in ItemIndex 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.