Sign in Join
FPDoc Onlineexperiment

TVirtualGrid.Create constructor

Member of TVirtualGridpublicIn unit Grids

Constructor for the class instance.

Declaration

pascal
constructor Create

Description

Create is the overridden constructor for the class instance, and calls the inherited method on entry.

Create allocates TPointerPointerArray resources needed for the column, row, and cell arrays used in the class instance. OnDestroyItem and OnNewItem event handlers in the array classes are set to the doDestroyItem and doNewItem methods in the class instance.

Creates sets the default values for the RowCount and ColCount properties to 4 (for both).

See also

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