Sign in Join
FPDoc Onlineexperiment

TListColumns.Add function

Member of TListColumnspublicIn unit ComCtrls

Creates and returns a new TListColumn instance for the collection.

Declaration

pascal
function Add: TListColumn

Function result

TListColumn instance created in the method.

Description

Add is a TListColumn function used to create and return a new TListColumn instance. It calls the inherited method to create a new instance of the ItemClass for the collection, and casts it to the TListColumn type used in the return value.

At design-time, the form designer surface for Owner (TCustomListView) is notified of the change when Owner has been assigned.

See also

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