Vcl.ExtCtrls.TControlBar.OnDockOver

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDockOver: TDockOverEvent read FOnDockOver write FOnDockOver;

C++

__property OnDockOver;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TControlBar

Description

Occurs when another control is dragged over the control.

Vcl.ExtCtrls.TControlBar.OnDockOver inherits from Vcl.Controls.TWinControl.OnDockOver. All content below this line refers to Vcl.Controls.TWinControl.OnDockOver.

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