[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ExtCtrls' (#lcl)

# TLabelPosition

Specifies the position for a label relative to an associated control.

## Declaration

Source position: extctrls.pp line 1022

`type TLabelPosition = (`
`lpAbove,` |  | Label is displayed above the control.
`lpBelow,` |  | Label is displayed below the control.
`lpLeft,` |  | Label is displayed to the left of the control.
`lpRight` |  | Label is displayed to the right of the control.
`);`

## Description

TLabelPosition is an enumerated type with values that represent the position of a label relative to an associated control: i. e. above, below, left, or right.

TLabelPosition is the type used for the LabelPosition property in TCustomLabeledEdit and descendent classes. It is used in the DoPositionLabel method to position and anchor the EditLabel to its companion control.

## See also

TCustomLabeledEdit.LabelPosition |  | Edge on the edge control where the bound label is aligned.
TCustomLabeledEdit.LabelSpacing |  | Number of pixels between the control and its bound label.
TCustomLabeledEdit.DoPositionLabel |  | DoPositionLabel - perform the code for positioning the label.
TBoundLabel.FocusControl |  | Control focused when the accelerator key for the label is detected.