Skip to content

PaneClick Event

Description

Occurs when a StatusBarPane object on the StatusBar control is clicked.

Syntax

Public Event PaneClick( _
    ByVal Pane As [StatusBarPane](XtremeCommandBars~StatusBarPane.md) _
)

Parameters

Remarks

The PaneClick event can be used to perform tasks on the StatusBarPane that was clicked or to perform a task based on which StatusBarPane was clicked.

Example

PaneClick Sample (Visual Basic)

This sample illustrates how to use the PaneClick event to display a dialog when a specific pane is clicked. This sample assumes there is a form named frmProperties.frm.

Private Sub StatusBar_PaneClick(ByVal Pane As XtremeCommandBars.StatusBarPane)  
    Debug.Print "PaneClick. Id = "; Pane.Id  

    ' Display a properties dialog if the StatusBarPane with ID ID_INDICATOR_ICON was clicked  
    If (Pane.Id = ID_INDICATOR_ICON) Then  
        frmProperties.Show 0, Me  
    End If  
End Sub

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.