ComponentOne True DBInput Pro 8.0
AlignVertical Property (TDBText)

 

Reference> TDBText Control> TDBText Control Properties> AlignVertical Property (TDBText)

AlignVertical Property (TDBText)

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.

Syntax

object.AlignVertical= value

Read/Write at run time and design time.

Values

Design Time

Run Time

0 - Top (Default)

dbiCaptAlignVTop

1 - Bottom

dbiCaptAlignVBottom

2 - Center

dbiCaptAlignVCenter

Remarks

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

AlignHorizontal Property (TDBText)

Size Property (Caption)

Position Property (Caption)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback