[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TDockManager.ResetBounds

ResetBounds refreshes the layout of the docksite

Declaration

Source position: controls.pp line 521

public procedure TDockManager.ResetBounds(

  Force: Boolean

); virtual; abstract;

Description

This method typically notifies the DockManager of a Resize of the docksite.

When the extent of the docksite really has changed, the DockManager should reposition and resize all docked controls accordingly.

The layout always should be refreshed when Force is True. This is required when e.g. the visibility of docked controls has changed, but not the size of the docksite.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.