Vcl.Controls.TDragDockObject.AdjustDockRect
Delphi
procedure AdjustDockRect(ARect: TRect); virtual;
C++
virtual void __fastcall AdjustDockRect(const System::Types::TRect &ARect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TDragDockObject |
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.