PaneDblClick Event
See Also
Pane: Reference to the StatusBarPane that was double-clicked.

Description
Occurs when a StatusBarPane object on the StatusBar control is double-clicked.
Syntax
Public Event PaneDblClick( _
ByVal Pane As [StatusBarPane](XtremeCommandBars~StatusBarPane.md) _
)
Parameters
- Pane: Reference to the StatusBarPane that was double-clicked.
Remarks
The PaneDblClick event can be used to perform tasks on the StatusBarPane that was double-clicked or to perform a task based on which StatusBarPane was double-clicked.
Example
PaneDblClick Sample (Visual Basic)
This sample illustrates how to use the PaneDblClick event to display a message box when a specific Status Bar Pane is clicked.
Private Sub StatusBar_PaneDblClick(ByVal Pane As XtremeCommandBars.StatusBarPane)
Debug.Print "PaneDblClick. Id = "; Pane.Id
'Display a message box with version information if StatusBar Pane with ID ID_INDICATOR_LOGO was double-clicked.
If (Pane.Id = ID_INDICATOR_LOGO) Then
MsgBox "Version " & App.Major & "." & App.Minor
End If
End Sub
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.