Vcl.ToolWin.TToolDockObject.AdjustDockRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AdjustDockRect(ARect: TRect); override;

C++

virtual void __fastcall AdjustDockRect(const System::Types::TRect &ARect);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ToolWin.pas
Vcl.ToolWin.hpp
Vcl.ToolWin TToolDockObject

Description

Adjusts the value of DockRect to reflect the dragged control's current status.

AdjustDockRect is called automatically at points during the drag operation to adjust the value of the DockRect property. The adjustment ensures that the position where the control is docked reflects the current mouse position, and, if the control is floating, reflects the size and shape of the control's floating dock site.

See Also