RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCheckBox.Alignment Property

Determines whether the checkbox label aligns to the left or right of the tick box.

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

The Alignment property is a little confusing. It implies text justification, but it is not quite that simple. The TLeftRight alignment type may have one of the following values :

Value 
Meaning 
taLeftJustify  
The checkbox label is displayed on the left of the checkbox. The label is aligned to the left of the control, and the checkbox is aligned to the right of the control.  
taRightJustify  
This is the default value. The checkbox is aligned to the left of the control. The label is aligned to the right side of the checkbox : it is not aligned to the right of the control.  

 

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