Vcl.Controls.IDockManager.ResetBounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ResetBounds(Force: Boolean);

C++

virtual void __fastcall ResetBounds(bool Force) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls IDockManager

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 the associated container control. It is used to update the dock manager to reflect current conditions (for example, when the container control that uses the dock manager is resized).

Force indicates whether ResetBounds should recompute the layout if the dimensions of the associated container control 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 the associated container control have not changed.

Code Examples