Sign in Join
FPDoc Onlineexperiment

TMouseButton enumeration

In unit Controls

Enumeration with values for logical mouse buttons.

Declaration

pascal
TMouseButton = (mbLeft,mbRight,mbMiddle,mbExtra1,mbExtra2)

Description

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

Values

mbLeftRepresents 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.
mbRightRepresents 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.
mbMiddleRepresents the middle mouse button.
mbExtra1Represents the first extra mouse button.
mbExtra2Represents the second extra mouse button.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.