RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDockTree.ResetBounds Method

Recomputes the layout of docked controls.

Pascal
procedure ResetBounds(Force: Boolean); virtual;
C++
virtual __fastcall ResetBounds(Boolean Force);

ResetBounds updates the layout of the docked controls and their surrounding docking zones, based on the current dimensions of DockSite. It is used to update the dock tree to reflect current conditions (for example, when DockSite is resized). 

Force indicates whether ResetBounds should recompute the layout if the dimensions of DockSite have not changed. When Force is false, ResetBounds only updates the layout of docked controls if the dimensions of DockSite have changed. When Force is true, ResetBounds updates the layout of docked controls even if the dimensions of DockSite have not changed. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!