Hi All,

I've created a StatusBar and several panels.

I can show the Date into my panel, but when I use the Time then it shows the Time static instead of Dynamic. My Timer is set Enable = true in the property and Interval = 1000.
I'm using a Timer for the Tick event but it isn't working.
Here's my code I'm using:


VB Code:
  1. panel3.Text = System.DateTime.Now.ToShortTimeString()
  2.  
  3. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  4.         Dim panel3 As New StatusBarPanel
  5.         panel3.Text = System.DateTime.Now.ToShortTimeString()
  6.         End If
  7. End Sub

Thanks in advance,

sparrow1