add a TextChanged event to a StatusBarPanel

Mar 17 2011 7:25 PM
Hi,

I am trying to add a TextChanged event to a StatusBarPanel but that event does not exist.
How can I determine when the text is changed? This is what I have:

For Each pan As System.Windows.Forms.StatusBarPanel In SB.Panels
AddHandler pan.TextChanged, AddressOf PanelTextChanged
Next pan


One idea is to do this using databinding to bind text in my StatusBar with text in a  textbox. Then add a handler to the TextChanged event in that textbox.
I can't find how to do this. Please help

Thank you so much.

Answers (1)