RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDockTabSet.DockOver Method

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

Pascal
procedure DockOver(Source: TDragDockObject; X: Integer; Y: Integer; State: TDragState; var Accept: Boolean); override;
C++
virtual __fastcall DockOver(TDragDockObject Source, int X, int Y, TDragState State, Boolean Accept);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!