TMouse.CursorPos property
The screen position for the mouse cursor.
Declaration
property CursorPos: TPoint read GetCursorPos write SetCursorPos;Description
CursorPos is a
TPoint property which contains the screen
coordinates where the mouse pointer is located. The X and Y members in the
TPoint type contain the horizontal and vertical screen coordinates,
respectively, and are read from and written to the widgetset class instance.
When reading values in the property, the X and Y members may return 0 if the widgetset is unable to return a TPoint instance.
For the macOS Carbon widgetset, changing the values in CursorPos does not
triggering OnMoveMove events in a form or control.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
