ScreenToClient(X: Integer; Y: Integer): IPoint;
X. Point coordinate on the X axis.
Y. Point coordinate on the Y axis.
The ScreenToClient method converts point's screen coordinates into coordinates specified relative to the component's coordinate system.
See also: