Occurs when the mouse button is pressed and released upon any of the toolbar's button objects.
Object.OnButtonClick(tbrb)
The OnButtonClick event syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AToolBar |
AToolBar control |
|
tbrb |
AToolBarButton object |
A mouse button is double-clicked when the user presses and releases, then presses and releases the mouse button again, within a time interval set in Windows as the double-click speed of the mouse.
tbr1.OnButtonClick(tbrb)
{
tbrb.Caption="Hello"
}