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

IPTCMouseButtonEvent

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

Describes a mouse button press or release event.

Declaration

Source position: mouseeventd.inc line 57

type IPTCMouseButtonEvent = interface(IPTCMouseEvent)

  function GetPress;

  

  function GetRelease;

  

  function GetButton;

  

  property Press: Boolean; [r]

  

Checks if the mouse button event is a button press event.

  property Release: Boolean; [r]

  

Checks if the mouse button event is a button release event.

  property Button: TPTCMouseButton; [r]

  

The mouse button, which was pressed or released.

end;

Inheritance

IPTCMouseButtonEvent

  

Describes a mouse button press or release event.

IPTCMouseEvent

  

Describes a mouse event.

IPTCEvent

  

Describes an event.

Description

Describes a mouse button press or release event.