Sign in Join
FPDoc Onlineexperiment

TCustomListView.Column property

Member of TCustomListViewpublicIn unit ComCtrls

Provides indexed access to the columns defined for the control.

Declaration

pascal
property Column[AIndex: Integer]: TListColumn read GetColumnFromIndex;

Description

Column is an indexed read-only TListColumn property which provides access to the information for a given column by its position. The column whose information is to be retrieved is determined by an index (AIndex). As with nearly all indexes, this index is 0-based.

Use the Columns property to add, change or delete a column definition.

Use the Items property to access the TListItem instances with the data displayed using the column definitions. The Caption in a given list item is the value display in Column[0]. Subsequent column values use the values in SubItems; i. e. Column[1] is SubItem[0], Column[2] is SubItem[1], ad infinitum.

See also

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