Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.Create

Constructor for the class instance.

Declaration

Source position: controls.pp line 1629

public constructor TControl.Create(

  TheOwner: TComponent

); override;

Arguments

TheOwner

  

The owning component.

Description

Create is the overridden constructor for the class instance. Create calls the inherited constructor using TheOwner as the owner for the class instance. Resources are allocated in the method for members in the class instance, and the default values are set for the following properties:

Remark: Create ensures that auto-sizing is disabled until the class instance is fully realized. Auto-sizing is re-enabled on exit from the method.

See also

TControl.Destroy

  

Removes the control from its Parent.



CT Web help

CodeTyphon Studio