Vcl.Controls.TWinControl.Realign
Delphi
procedure Realign; inline;
C++
void __fastcall Realign();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TWinControl |
Description
Forces the control to realign children.
The EnableAlign method calls Realign when the reference count reaches zero. It adjusts the size and position of any child controls according to their Align properties.
If all of the child controls have their Align properties set to alNone, Realign has no effect.