Vcl.ExtCtrls.TCustomControlBar.DockOver
Delphi
procedure DockOver(Source: TDragDockObject; X, Y: Integer; State: TDragState; var Accept: Boolean); override;
C++
DYNAMIC void __fastcall DockOver(Vcl::Controls::TDragDockObject* Source, int X, int Y, System::Uitypes::TDragState State, bool &Accept);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomControlBar |
Description
Generates an OnDockOver event and ensures proper docking of floating controls.
DockOver overrides the inherited method to ensure proper docking of floating controls that are accepted by the OnDockOver event handler.