TCustomLabeledEdit.LabelPosition property
Edge on the edge control where the bound label is aligned.
Declaration
property LabelPosition: TLabelPosition read FLabelPosition write SetLabelPosition default lpAbove;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.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
