TextAlignment property


Available for all Control objects except Static, Edit, Group, Button, Check, Radio and Picture.

Read/Write at design time
Read only at run time

Specifies how the text is positioned inside the control object. It can be one of the following values:

0 ecLeftText is left justified (default)
1 ecCenterText is horizontally centered
2 ecRightText is right justified