Occurs when the mouse button is pressed and released upon any of the status bar's pane objects.
Object.OnPaneClick ( pPane)
The OnPaneClick event syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AStatusBar object |
AStatusBar object |
|
pPane |
A specific pane of the AStatusBar object. |
The OnPaneClick event is similar to the standard OnClick event but occurs when a user presses and then releases a mouse button over any of the AStatusBar control's Pane objects.
sbr1.OnPaneClick(Pane)
{
sbrp1TimePane.ForeColor=clrRed
}