TWinControl.GetSiteInfo procedure
Return information about this dock site (InfluenceRect).
Declaration
procedure GetSiteInfo(Client: TControl; var InfluenceRect: TRect;
MousePos: TPoint; var CanDock: Boolean); virtualArguments
Client | The dragged control. |
InfluenceRect | The screen rectangle within which a drop is allowed. |
MousePos | The current mouse position. |
CanDock | Can be set to False to reject an drop. |
Description
The InfluenceRect determines the screen coordinates, within which
a drop is accepted. The InfluenceRect is the slightly inflated
WindowRect for the dock site, and can be adjusted in the
OnGetSiteInfo event handler.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
