RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBRichEdit.Alignment Property

Determines how the text is aligned within the text edit control.

Pascal
property Alignment: TAlignment;
C++
__property TAlignment Alignment;

Use Alignment to change the way the text is formatted in the text edit control. Alignment can take one of the following values:

Value 
Meaning 
taLeftJustify  
Align text to the left side of the control  
taCenter  
Center text horizontally in the control.  
taRightJustify  
Align text to the right side of the control.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!