Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.CalcCursorPos

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CalcCursorPos: TPoint;

C++

System::Types::TPoint __fastcall CalcCursorPos();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Gives the coordinates of the cursor, with respect to the origin of the control.

Use CalcCursorPos to obtain the current coordinates of the mouse cursor, with respect to the origin of the control.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance