W
Warrio
Hello!
Why the function repaint stops working as soon as I put a progress bar in
the form?
I change the value of the progressbar and do other action in a loop, but
mean while, I want the progress bar to be refreshed so it has the right
value..
as a result, my form freezes the hole loop time.. and at the end the
progress bar value is full (100%)
the code looks like:
For i = 1 to rs.RecordCount
myProgressBar.Value = i * 100 / rs.RecordCount
me.Repaint
...
... 'Other actions...
Next i
Thanks for any suggestion
Why the function repaint stops working as soon as I put a progress bar in
the form?
I change the value of the progressbar and do other action in a loop, but
mean while, I want the progress bar to be refreshed so it has the right
value..
as a result, my form freezes the hole loop time.. and at the end the
progress bar value is full (100%)
the code looks like:
For i = 1 to rs.RecordCount
myProgressBar.Value = i * 100 / rs.RecordCount
me.Repaint
...
... 'Other actions...
Next i
Thanks for any suggestion