Sign in Join
FPDoc Onlineexperiment

TCustomGrid.Create constructor

Member of TCustomGridpublicIn unit Grids

Constructor for the class instance.

Declaration

pascal
constructor Create(AOwner: TComponent); override

Description

Create is the constructor for TCustomGrid. Create calls the inherited Create method, allocates the lists with columns and rows, initializes many visual properties and options, creates the various cell editors, and loads any bitmaps required for the control.

The inherited method calls SetBounds and VisualChange, so the grid needs to be fully instantiated before the inherited method is called.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.