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

TListColumns.Items

Provides indexed access to the items in the column collection.

Declaration

Source position: comctrls.pp line 1278

public property TListColumns.Items[AIndex: Integer] : TListColumn
  read GetItem
  write SetItem;
  default;

Description

Items is a TListColumn property used to provide indexed access to TListColumn instances in the collection by their ordinal position. The read and write access specifiers for the property are reimplemented to use the TListColumn type used as the ItemClass in the collection.

Items is the default property for the collection, and the target for an enumerator created for the collection.

Use Add to create and store a new TListColumn instance in the collection.

Free a TListColumn instance to remove it from the values in Items.

See also

TListColumns.Add

  

Creates and returns a new TListColumn instance for the collection.

TListColumn.Destroy

  

Destructor for the class instance.

TCollection.Items

TCollectionEnumerator


Version 4.0 Generated 2025-05-03 Home