[Overview][Types][Classes][Procedures and functions][Index] |
Horizontal alignment for the Caption displayed on the bound label.
Source position: extctrls.pp line 980
published property TBoundLabel.Alignment : TAlignment; |
Alignment is a published TAlignment property in TBoundLabel which controls how Caption text is aligned horizontally on the label.
The default value for Alignment is taCenter as assigned in the Create constructor. Please note that this is different than the default property value (taLeftJustify) used in the TCustomLabel ancestor.
See TAlignment 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 above or below the FocusControl. The property value is not used when the bound label is positioned to the left or right of the FocusControl; the label width is auto-sized in this use case. See TCustomLabeledEdit.LabelPosition for more information.
Use the Layout property to control the vertical alignment for the Caption text displayed on the label.
Added in LCL version 4.0.
|
The text displayed for the control. |
|
|
Specifies the vertical alignment for the Caption text on the label. |
|
|
Control focused when the accelerator key for the label is detected. |
|
|
Edge on the edge control where the bound label is aligned. |
|
|
Number of pixels between the control and its bound label. |
|
|
Horizontal text justification in the control (centered, left- or right-justified). |
|
Version 4.0 | Generated 2025-05-03 | Home |