TListItem.Index property
Ordinal position for the list item in its TListItems container.
Declaration
property Index: Integer read GetIndex;Description
Index is a read-only
Integer property with the position
where the list item in stored in its TListItems container. The property value
is retrieved by calling the IndexOf method in the Owner (TListItems) to
locate the class instance. The property value is -1 if Owner has not been
assigned, or the list was removed from the container.
Use the Move or Exchange methods in TListItems, or the sort routines in TCustomListView, to change the position where a list item is stored in its container.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
