[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomHeaderControl.Create

Constructor for the class instance.

Declaration

Source position: comctrls.pp line 4060

public constructor TCustomHeaderControl.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

TCustomControl.Create

  

Constructor for the class instance.


Version 3.2 Generated 2024-02-25 Home