Sign in Join
FPDoc Onlineexperiment

TCustomListView.CreateListColumns function

Member of TCustomListViewprotectedIn unit ComCtrls

Creates the collection used to store the columns definitions for the control.

Declaration

pascal
function CreateListColumns: TListColumns; virtual

Function result

TListColumns collection instance created in the method.

Description

CreateListColumns is a TListColumns function which gets the collection used to store the column definitions in the Columns property. In TCustomListView, the collection stores TListColumn instances. CreateListColumns is a virtual method and can be overridden / re-implemented in descendent classes (like TCustomShellListView / TShellListView) to reflect the collection and item class type needed for the Columns used in the implementation.

CreateListColumns is used in the Create constructor to initialize the internal member for the Columns property.

Added in LCL version 5.0.

See also

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