Sign in Join
FPDoc Onlineexperiment

TCustomLabeledEdit.Create constructor

Member of TCustomLabeledEditpublicIn unit ExtCtrls

Constructor for the class instance.

Declaration

pascal
constructor Create(TheOwner: TComponent); override

Arguments

TheOwner

Component which is the Owner of the class instance.

Description

Create is the overridden constructor for the class instance, and calls the inherited method on entry. Create sets the default values for properties, including:

LabelPosition
lpAbove to align the bound label above the edit control.
LabelSpacing
3 for the number of pixels between the bound label and the edit control.

Create calls CreateInternalLabel to allocate and configure the TBoundLabel instance used in the EditLabel property.

See also

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