I have a routine that goes through a loop 10000 times. Well it happens too quick I would like to put the progress bar in a timer so it goes off every 10th of a second.
B4X:
Sub tmr_tick
Dim tmrtick As Int
tmrtick = tmrtick + 1
If sendtype = "AreaCode" Then
For c = tmrtick To 9999
progressbar1.Visible = True
ProgressBar1.Progress = (tmrtick + 1)/9999 * 100
Next
End If
End Sub