Sign in Join
FPDoc Onlineexperiment

TGridColumns.Add function

Member of TGridColumnspublicIn unit Grids

Creates a new ItemClass instance with the collection as its owner.

Declaration

pascal
function Add: TGridColumn

Function result

TGridColumn instance added to the collection.

Description

Add is an overridden method used to create a new collection item using the ItemClass class type for the collection. The new class instance has the collection as its owner. Add re-implements the method from the ancestor class.

Use Insert or InsertColumn to create a new collection item and store it at a specified position in the collection.

See also

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