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:
panel3.Text = System.DateTime.Now.ToShortTimeString() Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim panel3 As New StatusBarPanel panel3.Text = System.DateTime.Now.ToShortTimeString() End If End Sub
Thanks in advance,
sparrow1





Reply With Quote