Hi.
hi have a custom created smooth progress bar (Pbar)
control and i wanted to know how i can reset the bar to 0
after the bar has run to completion.
The pbar uses a timer control to function
The code that i have been given in an example is:
'this is added to the tick event for the timer
If (Me.SmoothProgressBar1.Value > 0) Then
Me.SmoothProgressBar1.Value -= 1
Me.SmoothProgressBar2.Value += 1
Else
Me.Timer1.Enabled = False
End If
'this is added to the onclick event on a button:
Me.SmoothProgressBar1.Value = 100
Me.SmoothProgressBar2.Value = 0
Me.Timer1.Interval = 1
Me.Timer1.Enabled = True
at present this code runs 2 progress bars on the form.
one runs backwards, while the other goes forward.
I need help on modifying this to just use one pbar that
goes forward and then resets itself once it has completed.
Can anyone help me.
thx for your help