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

TControl.ScreenToControl

Converts absolute screen coordinates to control-relative coordinates.

Declaration

Source position: controls.pp line 1667

public function TControl.ScreenToControl(

  const APoint: TPoint

):TPoint;

See also

TControl.ControlOrigin

  

The top, left pixel of the control in screen coordinates.

TControl.ControlToScreen

  

Converts control-relative coordinates to absolute screen coordinates.

TControl.ScreenToClient

  

Converts absolute screen coordinates into client-relative coordinates.

TControl.ClientToScreen

  

Converts client-relative coordinates to absolute screen coordinates.