[Overview][Types][Classes][Procedures and functions][Index] |
Specifies the vertical alignment for the Caption text on the label.
Source position: extctrls.pp line 999
published property TBoundLabel.Layout : TTextLayout |
Layout is a published TTextLayout property in TBoundLabel. The default value for the property is tlCenter in TBoundLabel, and causes the Caption to be centered vertically using the Height for the label. Please note that the default value differs from the default used in the TCustomLabel ancestor (tlTop).
See TTextLayout for the values allowed in the property and their meanings.
The property value is used when it is relevant to the position for the bound label relative to its FocusControl. In short, when the bound label appears to the left or right of the FocusControl. The property value is not used when the bound label is positioned above or below the FocusControl; the label height is auto-sized in this use case. See TCustomLabeledEdit.LabelPosition for more information.
Use Alignment to control the horizontal alignment used for the Caption text.
|
Horizontal alignment for the Caption displayed on the bound label. |
|
|
The text displayed for the control. |
|
|
Edge on the edge control where the bound label is aligned. |
|
|
Number of pixels between the control and its bound label. |
|
|
Vertical alignment for control text (at the top, bottom, or center). |
Version 4.0 | Generated 2025-05-03 | Home |