Sign in Join
FPDoc Onlineexperiment

TMouseEvent record

In unit Mouse

Mouse event reporting record.

Declaration

pascal
TMouseEvent = packed record

Description

The TMouseEvent is the central type of the mouse unit, it is used to describe all mouse events.

The Buttons field describes which buttons were down when the event occurred. The x,y fields describe where the event occurred on the screen. The Action describes what action was going on when the event occurred. The Buttons and Action field can be examined using the constants defined in the unit interface.

See also

Fields

buttonsPressed buttons at time of event.
xHorizontal position of mouse cursor.
yVertical position of mouse cursor.
ActionType of event.

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