Skip to main content

TdxChartMouseAction.MouseButton Property

Specifies the mouse button required to execute the mouse action.

Declaration

property MouseButton: TMouseButton read; write;

Property Value

Type Description
TMouseButton

The mouse button required to execute the mouse action.

Remarks

Use MouseButton and ModifierKeys properties to define how users can execute the mouse action.

Property Values

Value Description
mbLeft Users need to click the left mouse button to execute the mouse action.
mbRight Users need to click the right mouse button to execute the mouse action.
mbMiddle Users need to click the middle mouse button to execute the mouse action.

Default Value

The MouseButton property’s default value depends on the mouse action type:

Pan | Zoom In | ZoomOut
The default value is mbLeft.
Marquee Zoom
The default value is mbRight.
See Also