buttonspanel Alignment property
Return to Introduction  Previous page  Next page
Applies to
acButtonsPanel component.  

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

Declaration
The Alignment property controls placement of buttons inside of the panel.  
 
You can align the buttons by left or right side (top or bottom side for vertical panel, when Align is alVertical), or put them to center of panel.  
 
To put the buttons to center of panel — set Alignment to taCenter.  
 
tip If you need to specify the placement of entire panel (vertical or hizontal) within a form — use Align property instead.  

See also
Align, ButtonWidth, ButtonHeight, ButtonSpacing, MarginHorz and MarginVert properties.