checkbox AlignmentVert property
Return to Introduction  Previous page  Next page
Applies to
acCheckBox and acRadioButton components.  

Declaration
type  
  TVerticalAlignment = (vaTopJustify, vaBottomJustify, vaCenter);  
 
property AlignmentVert: TVerticalAlignment;  

Description
The AlignmentVert property controls vertical placement of text string that appears as a label for checkbox control.  
 
By default, text is lined up along the top edge of control (AlignmentVert = vaTopJustify). To align text along the bottom edge — set AlignmentVert to vaRightJustify. For centering the text vertically within a client area — set AlignmentVert to vaCenter.  
 
tip The effect of the AlignmentVert property is more obvious if the WordWrap property is True and the caption includes more than one line of text.  

Snapshot
accheckboxvertjustifyss  

See also
AlignmentHorz property.