Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TMouseButton

Enumeration with values for logical mouse buttons.

Declaration

Source position: controls.pp line 220

type TMouseButton = (

  mbLeft,

  

Represents the left mouse button. It might be physically the right button if the system is configured to act like that, for example for a left handled person.

  mbRight,

  

Represents the right mouse button. It might be physically the left button if the system is configured to act like that, for example for a left handled person.

  mbMiddle,

  

Represents the middle mouse button.

  mbExtra1,

  

Represents the first extra mouse button.

  mbExtra2

  

Represents the second extra mouse button.

);

Description

These are logical buttons; the left and right physical buttons can be swapped for left-handed users.

Version info

Modified in LCL version 3.0 to be an alias for the TMouseButton type in System.UITypes for FPC 3.2.0 or higher.



CT Web help

CodeTyphon Studio