Specifies the position for a label relative to an associated control.
Source position: extctrls.pp line 1008
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. |
); |
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.
|
Edge on the edge control where the bound label is aligned. |
|
|
Number of pixels between the control and its bound label. |
|
|
DoPositionLabel - perform the code for positioning the label. |
|
|
Control focused when the accelerator key for the label is detected. |
Lazarus Component Library (LCL) | Version 4.99-39cef04c46 (2025-02-10) | Home |