Sign in Join
FPDoc Onlineexperiment

TCustomLabeledEdit.SetParent procedure

Member of TCustomLabeledEditprotectedIn unit ExtCtrls

Sets the value for the Parent property.

Declaration

pascal
procedure SetParent(AParent: TWinControl); override

Arguments

AParent

New parent for the control.

Description

SetParent is overridden in TCustomLabeledEdit to ensure that the EditLabel for the control is properly aligned after the value in Parent is changed. Calls DoPositionLabel to set the label visibility and position the label using the value in LabelPosition and LabelSpacing.

See also

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