The PanelDblClick event is similar to the standard DblClick Event but occurs when a user presses and then releases a mouse button twice over a StatusBar control's Panel object.
Syntax
Sub object_PanelDblClick(ByVal panel As Panel)
The PanelDblClick event syntax has these parts:
Part | Description |
object | An object expression that evaluates to a StatusBar control. |
panel | A reference to the double-clicked Panel. |
Remarks
The standard DblClick event also occurs when a Panel is double-clicked.
The PanelDblClick event is only generated when the double-click occurs over a Panel object. When the StatusBar control's Style property is set to Simple style, panels are hidden, and therefore the PanelDblClick event is not generated.