TListBox.Items property
The list of items defined for the control.
Declaration
property Items:;Description
Items is a
TStrings property which contains the string
values (and associated objects) displayed on the list box control. Read
access to the contents of the list is TStrings compatible. Assign another
string list to the property to replace the Items in the control. Internally,
Items uses a
TExtendedStringList type to access and maintain the
cached list items.
Use ItemIndex to access the selected item in the list box control.
Use Count to access the number of entries in the Items property.
Use the Selected property to select or de-select values in Items
when MultiSelect is enabled. Use SelectRange to select
a range of Items in the control.
OnData, OnDataObject, or OnDataFind event
handlers.
This description is the one of StdCtrls.TCustomListBox.Items.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
