OnPaneClick Event (AStatusBar)

Occurs when the mouse button is pressed and released upon any of the status bar's pane objects.

Syntax

Object.OnPaneClick ( pPane)

The OnPaneClick event syntax has the following parts:

 

Name

Type

Description

Object

AStatusBar object

AStatusBar object

pPane

AStatusBarPane

A specific pane of the AStatusBar object.

Comments

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.

Example

sbr1.OnPaneClick(Pane)

{

sbrp1TimePane.ForeColor=clrRed

}

Applies to

AStatusBar

See Also

AStatusBarPane, OnPaneDblClick, Panes