Skip to content

OnRightClick - cToolbarButton

Received whenever the mouse's right button is clicked in the button

Type: Event

Parameters

Parameter Type Description
x Integer The x-coordinate that the mouse button was clicked on
y Integer The y-coordinate that the mouse button was clicked on

Syntax

Procedure OnRightClick Integer x Integer y

Description

The OnRightClick event is received whenever the mouse's right button is clicked in the button. However, this event can be redirected by setting the phmOnRightClick property to a different message-handle.

Col 1 Col 2
Note: You can also use the cWinControl's OnMouseDown, OnMouseUp and OnMouseDoubleClick mouse messages in the toolbar.