Reference > TDBTime Control > TDBTime Control Properties > AlignVertical Property (TDBTime) |
AlignVertical Property (TDBTime)
The AlignVertical property determines where the text should be aligned vertically in the specified area. It will be displayed within the area prescribed by the margin related properties. Absolute text positioning can be adjusted by using the margin related properties together with this property.
object.AlignVertical= value
Read/Write at run time and design time.
Design Time |
Run Time |
0 - Top (Default) |
dbiCaptAlignVTop |
1 - Bottom |
dbiCaptAlignVBottom |
2 - Center |
dbiCaptAlignVCenter |
The text will be aligned within the height of the control or the space specified by the Size property, depending on the setting of the Position property.
The settings of this property will not take effect in the drop down edit window. The text in the edit window will be aligned to the top.
The text will not wrap when it exceeds the size of the displaying area.
In the previous version, this property was named Alignment, and was used for both vertical and horizontal setting. But now, they are each available through different properties - AlignVertical and AlignHorizontal.
See Also