[Overview][Constants][Types][Classes][Index] Reference for unit 'ptc' (#ptc)

IPTCMouseEvent

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Describes a mouse event.

Declaration

Source position: mouseeventd.inc line 43

type IPTCMouseEvent = interface(IPTCEvent)

  function GetX;

  

  function GetY;

  

  function GetDeltaX;

  

  function GetDeltaY;

  

  function GetButtonState;

  

  property X: Integer; [r]

  

The X coordinate of the mouse cursor.

  property Y: Integer; [r]

  

The Y coordinate of the mouse cursor.

  property DeltaX: Integer; [r]

  

The difference between the current and the previous X coordinate of the mouse cursor.

  property DeltaY: Integer; [r]

  

The difference between the current and the previous Y coordinate of the mouse cursor.

  property ButtonState: TPTCMouseButtonState; [r]

  

The current button state.

end;

Inheritance

IPTCMouseEvent

  

Describes a mouse event.

IPTCEvent

  

Describes an event.

Description

Describes a mouse event.