Vcl.Controls.TWinControl.DockOver

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DockOver(Source: TDragDockObject; X, Y: Integer; State: TDragState;  var Accept: Boolean); dynamic;

C++

DYNAMIC void __fastcall DockOver(TDragDockObject* Source, int X, int Y, System::Uitypes::TDragState State, bool &Accept);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Responds when a docking client is dragged over the windowed control.

DockOver is called automatically for dock sites when a dockable object is dragged over them. As implemented in TWinControl, DockOver positions the docking rectangle and then calls DoDockOver to generate an OnDockOver event.

Override DockOver to perform additional actions when another control is dragged over the control.

DockOver is called only if DockSite is true.

See Also