Skip to content

OnClick - cToolbarButton

Called whenever the mouse's left button is clicked in the button

Type: Event

Syntax

Procedure OnClick

Description

The OnClick event is received whenever the mouse's left button is clicked in the button. However, this event can be redirected by setting the phmOnClick 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.