Hammy
Freshman
I have written this code, thinking it should produce an effect of the labels "flickering" random numbers 25 times for.2 seconds each time.
However, all it seems to do is cause the labels to go blank for .2 seconds x 25 times before finally diaplying their final result.
code...
What am I doing wrong?
TIA
Hammy
However, all it seems to do is cause the labels to go blank for .2 seconds x 25 times before finally diaplying their final result.
code...
Visual Basic:
Dim i As Integer
For i = 1 To 50
Label1.Text = CStr(Int(Rnd() * 10))
Label2.Text = CStr(Int(Rnd() * 10))
Label3.Text = CStr(Int(Rnd() * 10))
System.Threading.Thread.Sleep(200)
Next i
What am I doing wrong?
TIA
Hammy
Last edited by a moderator: