Sign in Join
FPDoc Onlineexperiment

TDockManager.GetControlBounds procedure

Member of TDockManagerpublicIn unit Controls

Returns the zone bounds of a docked control.

Declaration

pascal
procedure GetControlBounds(Control: TControl; out AControlBounds: TRect)
 ; virtual; abstract

Arguments

Control

The docked control.

AControlBounds

The enclosing rectangle, in client coordinates of the docksite.

Description

The TDockTree manager returns the bounds of the dockzone, including the dock header.

When the Control is not docked, an empty Rect(0,0,0,0) is returned.

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