RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.TAlignment Enumeration

TAlignment specifies how text is aligned within a control.

Pascal
TAlignment = (
  taLeftJustify,
  taRightJustify,
  taCenter
);
C++
enum TAlignment {
  taLeftJustify,
  taRightJustify,
  taCenter
};

Classes

The following are possible values of TAlignment:

Value 
Meaning 
taLeftJustify  
Text is left-justified: Lines all begin at the left edge of the control.  
taCenter  
Text is centered in the control.  
taRightJustify  
Text is right-justified: Lines all end at the right edge of the control.  

 

Alignment

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!