ipedit Alignment property
Return to Introduction  Previous page  Next page
Applies to
acIPEdit, acEdit and acNumberEdit components.  

Declaration
type  
  TAlignment = (taLeftJustify, taRightJustify, taCenter);  
 
property Alignment: TAlignment;  

Description
The Alignment property controls horizontal placement of the text within every section of the acIPEdit control. Set Alignment to specify how the text of the edit control is aligned within the client area (ClientRect property) of this control. Alignment can be one of the following values:  
 
ValueMeaning  
taLeftJustifyThe text appears lined up along the left edge of the edit control;  
taRightJustifyThe text appears lined up along the right edge of the edit control;  
taCenterThe text is horizontally centered in the edit control.  

Snapshot
aceditalignmentss