procedure AlignControls(AControl: TControl; var ARect: TRect); override;
virtual void __fastcall AlignControls(Vcl::Controls::TControl* AControl, System::Types::TRect &ARect);
Aligns the controls in the scrolling windowed control.
Use AlignControls to align the controls in the scrolling control according to the values of their Align properties.
AControl specifies the control that takes precedence in alignment when other controls have the same Align value. AControl can be nil (Delphi) or NULL (C++).
ARect indicates the area in the scrolling control that contains the controls to align. ARect is automatically set to the entire area of the scrolling control.
If AutoScroll is true and the scrolling control is not being resized, the ranges of the scroll bars on the scrolling control are automatically recalculated.