Sign in Join
FPDoc Onlineexperiment

TCustomShape.Create constructor

Member of TCustomShapepublicIn unit ExtCtrls

Constructor for the class instance.

Declaration

pascal
constructor Create(TheOwner: TComponent); override

Arguments

TheOwner

Owner of the class instance.

Description

Create is the overridden constructor for the class instance. It calls the inherited constructor on entry to instantiate and configure the control including its Canvas. It sets the initial bounds for the control using the default size for the class type. Create allocates resources needed for the Pen and Brush in the control, and assigns the OnChange handlers notified when the members have been changed.

See also

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