[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Return information about this dock site (InfluenceRect).
Source position: controls.pp line 2255
protected procedure TWinControl.GetSiteInfo( |
Client: TControl; |
var InfluenceRect: TRect; |
MousePos: TPoint; |
var CanDock: Boolean |
); virtual; |
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. |
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.
Version 3.2 | Generated 2024-02-25 | Home |