Sign in Join
FPDoc Onlineexperiment

TListItem.Data property

Member of TListItempublicIn unit ComCtrls

Pointer to arbitrary Data associated with the list item.

Declaration

pascal
property Data: Pointer read FData write SetData;

Description

Data is an untyped Pointer property with a pointer to arbitrary data for the list item. The value for the property is stored when the list item is created in TCustomListView.AddItem.

Data can be used to order list items in TCustomListView.Sort when the SortType property is set to [stData].

See also

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