Status bar panel clicked on.

P

Philip Tepedino

Is there a way to find out what panel is was clicked on a status bar? (maybe
get the name of the panel object?)

thanks,
Philip Tepedino
 
H

Herfried K. Wagner [MVP]

Philip Tepedino said:
Is there a way to find out what panel is was clicked on a status bar? (maybe
get the name of the panel object?)

Untested:

\\\
Private Sub StatusBar1_PanelClick( _
ByVal sender As System.Object, _
ByVal e As System.Windows.Forms.StatusBarPanelClickEventArgs _
) Handles StatusBar1.PanelClick
MsgBox(e.StatusBarPanel.Text)
End Sub
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top