TdxChartMouseAction.MouseButton Property
In This Article
Specifies the mouse button required to execute the mouse action.
#Declaration
Delphi
property MouseButton: TMouseButton read; write;
#Property Value
Type | Description |
---|---|
TMouse |
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 |
---|---|
mb |
Users need to click the left mouse button to execute the mouse action. |
mb |
Users need to click the right mouse button to execute the mouse action. |
mb |
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