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