Sign in Join
FPDoc Onlineexperiment

TCustomHeaderControl.Create constructor

Member of TCustomHeaderControlpublicIn unit ComCtrls

Constructor for the class instance.

Declaration

pascal
constructor Create(AOwner: TComponent); override

Arguments

AOwner

Owner of the class instance.

Description

Create is the overridden constructor for TCustomHeaderControl, and calls the inherited Create on entry.

Create allocates resources needed for the Sections property by call CreateSections. It also sets the default size for the control using the values returned from GetControlClassDefaultSize.

The control style flags are updated in the method to include mouse capture and click events and to remove caption display for the control.

See also

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