RAD Studio VCL Reference
TCustomActionBar.AlignControls Method

Aligns any controls for which the control is the parent within a specified area of the control.

procedure AlignControls(AControl: TControl; var Rect: TRect); override;
virtual __fastcall AlignControls(TControl * AControl, TRect Rect);

Use AlignControls to align all controls within an area of a form, panel, group box, scroll box, or any container control. Specify the area in which to align the controls as the value of the Rect parameter. 

AlignControls uses the Align property value for each child control to determine how to align it. The AControl parameter can be nil (Delphi) or NULL (C++). If you specify a control in AControl, that control takes precedence in alignment over other, similarly-aligned controls. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!