[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Converts the specified screen coordinates to client-relative coordinates.
Source position: forms.pp line 205
public function TScrollingWinControl.ScreenToClient( |
const APoint: TPoint |
):TPoint; override; |
APoint |
|
TPoint instance with the screen coordinates converted in the method. |
TPoint instance with the client-relative coordinates for the specified value.
ScreenToClient is an overridden method in TScrollingWinControl.
ScreenToClient calls the inherited method to get the TPoint instance with the client coordinates used in the return value. The X and Y members in the return value are updated to reflect the current scroll offsets for the control. This gives the origin on the logical display area for the visible area on the control.
ScreenToClient is used, along with ClientToScreen, in inherited methods which respond to changes in the mouse pointer position for a control. This includes context menu display and drag-and-dock operations.
|
Converts the specified client coordinates to absolute screen coordinates. |
|
|
Converts absolute screen coordinates into client-relative coordinates. |
Version 3.2 | Generated 2024-02-25 | Home |