Vcl.Controls.TWinControl.OnDockOver

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDockOver: TDockOverEvent read FOnDockOver write FOnDockOver;

C++

__property TDockOverEvent OnDockOver = {read=FOnDockOver, write=FOnDockOver};

Properties

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

Description

Occurs when another control is dragged over the control.

Write code in the OnDockOver event to indicate whether a dockable control that is dragged over the windowed control can be accepted as a dock client. OnDockOver occurs after the TDragDockObject has been initialized by an OnGetSiteInfo event.

OnDockOver occurs only if DockSite is true.

See Also

Code Examples