Sign in Join
FPDoc Onlineexperiment

TLabeledEdit.LabelPosition property

Member of TLabeledEditpublishedIn unit ExtCtrls

Edge on the edge control where the bound label is aligned.

Declaration

pascal
property LabelPosition:;

Description

LabelPosition is a TLabelPosition property which indicates the edge of the edit control where the bound label in EditLabel is aligned. The default value for the property is lpAbove.

Use one of the other TLabelPosition enumeration values to reposition the label relative to the edit control.

lpAbove
Positions the label above the edit control.
lpBelow
Positions the label below the edit control.
lpLeft
Positions the label on the left-hand edge of the edit control.
lpRight
Positions the label on the right-hand edge of the edit control.

Changing the value for the property causes EditLabel to be repositioned and anchored to the edit control.

Use LabelSpacing to specify the number of pixels used as a spacer between the edit control and the bound label in Editlabel.

This description is the one of ExtCtrls.TCustomLabeledEdit.LabelPosition.

See also

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