Sign in Join
FPDoc Onlineexperiment

TControl.ScreenToControl function

Member of TControlpublicIn unit Controls

Converts absolute screen coordinates to control-relative coordinates.

Declaration

pascal
function ScreenToControl(const APoint: TPoint): TPoint

Arguments

APoint

Screen coordinates converted to client coordinates in the method.

Function result

TPoint instance with the client coordinates relative to its Parent control.

Description

Nothing more than the line above yet.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.