RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.Realign Method

Forces the control to realign children.

Pascal
procedure Realign;
C++
__fastcall Realign();

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. 

 

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