Vcl.Controls.TDockTree.ResetBounds
Delphi
procedure ResetBounds(Force: Boolean); virtual;
C++
virtual void __fastcall ResetBounds(bool Force);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TDockTree |
Description
Recomputes the layout of docked controls.
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.