T
Taskos_e_Studio
Guest
Hi,
I have a problem and i can't find a solution on net. How can i make my progress bar to have variable increament throught the result of a calculation? ex. I make a timer count down, like a tabata timer, and i want my progress bar to increace throught the calculation of the total time. Thank you
i try somethink like this
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Timer1.Start()
Timer1.Interval = 1000
ProgressBar1.Value = Label1.Text --------->>> i sent the result of calculation to a label
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
ProgressBar1.Step = Val(Label1.Text)
Continue reading...
I have a problem and i can't find a solution on net. How can i make my progress bar to have variable increament throught the result of a calculation? ex. I make a timer count down, like a tabata timer, and i want my progress bar to increace throught the calculation of the total time. Thank you
i try somethink like this
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Timer1.Start()
Timer1.Interval = 1000
ProgressBar1.Value = Label1.Text --------->>> i sent the result of calculation to a label
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
ProgressBar1.Step = Val(Label1.Text)
Continue reading...