[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
AdjustDockRect - adjust the docking rectangle for AControl
Source position: controls.pp line 2229
public procedure TDockTree.AdjustDockRect( |
AControl: TControl; |
var ARect: TRect |
); virtual; |
ARect initially describes the dockzone into which the control is docked. From that area the zone decoration is excluded, so that ARect describes the area reserved for the docked control. AdjustDockRect is not part of the general docking model. It can implemented and used for any purpose in a dock tree manager. Most docking managers will replace it by a method with more arguments, that allow to identify the zone and its properties immediately.
lazarus-ccr.sourceforge.net |