T
Tony WONG
i have the following running numbers on the button
the number is running well if i do not move the form
however, if i move the form while number is running.
the number stops running (perhaps running at the back) and then jump to 10
(the end)
how can i make the number running on screen even i move the form? thanks a
lot.
******************************
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim A As Integer = 1
For A = 1 To 10
Button1.Text = A
Me.Refresh()
System.Threading.Thread.Sleep(1000)
Next A
End Sub
End Class
the number is running well if i do not move the form
however, if i move the form while number is running.
the number stops running (perhaps running at the back) and then jump to 10
(the end)
how can i make the number running on screen even i move the form? thanks a
lot.
******************************
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim A As Integer = 1
For A = 1 To 10
Button1.Text = A
Me.Refresh()
System.Threading.Thread.Sleep(1000)
Next A
End Sub
End Class