Vcl.Controls.TWinControl.OnGetSiteInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGetSiteInfo: TGetSiteInfoEvent read FOnGetSiteInfo write FOnGetSiteInfo;

C++

__property TGetSiteInfoEvent OnGetSiteInfo = {read=FOnGetSiteInfo, write=FOnGetSiteInfo};

Properties

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

Description

Returns the control's docking information.

Write code in the OnGetSiteInfo event handler to initialize a TDragDockObject with information about where a dragged object can be docked, if at all. OnGetSiteInfo occurs before the OnDockOver event.

OnGetSiteInfo occurs only if DockSite is true.

OnGetSiteInfo is an event handler of type Vcl.Controls.TGetSiteInfoEvent. See TGetSiteInfoEvent for a description of the parameters.

See Also

Code Examples