[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TListItem.Data

Pointer to arbitrary Data associated with the list item.

Declaration

Source position: comctrls.pp line 1070

public property TListItem.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

TCustomListView.AddItem

  

Adds a list item with the specified caption and optional object.

TCustomListView.FindData

  

Locates a list item with a given value starting from the specified position in Items.

TCustomListView.Sort

  

Sorts the values in Items using the SortType, SortColumn, and SortDirection for the control.

TCustomListView.SortType

  

Specifies the sorting mechanism used for the current SortColumn.

TListItems.FindData

  

Locates the list item which has the specified values in its Data property.


Version 3.2 Generated 2024-02-25 Home