[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TWinControl.GetSiteInfo

Return information about this dock site (InfluenceRect).

Declaration

Source position: controls.pp line 1796

protected procedure TWinControl.GetSiteInfo(

  Client: TControl;

  var InfluenceRect: TRect;

  MousePos: TPoint;

  var CanDock: Boolean

); virtual;

Description

The InfluenceRect determines the screen coordinates, within which a drop is accepted.
The InfluenceRect is the slightly inflated WindowRect of the dock site, adjustable in an OnGetSiteInfo handler.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.