Sign in Join
FPDoc Onlineexperiment

TDockManager.ResetBounds procedure

Member of TDockManagerpublicIn unit Controls

Refreshes the layout for the dock site.

Declaration

pascal
procedure ResetBounds(Force: Boolean); virtual; abstract

Arguments

Force

When True, always update the layout.

Description

This method typically notifies the DockManager when the DockSite calls its Resize method. When the extent of the docksite 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.