Controls.TWinControl.OnDockOver
From RAD Studio VCL Reference
Contents |
Delphi Information
From Controls.pas
property OnDockOver: TDockOverEvent read FOnDockOver write FOnDockOver;
Unit: Controls
Type: event
Visibility: protected
Member Of: TWinControl
C++ Information
From Controls.hpp
__property TDockOverEvent OnDockOver;
Unit: Controls
Type: property
Visibility: protected
Member Of: 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 Samples