Clear ProgressBar

Shay

Well-Known Member
Licensed User
Longtime User
Hi

i have progressBar - I wish that when the value is going up, it will be in the color of green, when down red
(simple no?)

I am using this:
If value3 < Value2 Then
ProgressBar1.Color = Colors.Red
Else
' ProgressBar1.Progress = 0
ProgressBar1.Color = Colors.Green
End If

ProgressBar1.Progress=Value3

my problem, that there are "red" leftovers on the right side of the progressBar
it is not cleaning good
As you can see I also tried .progress=0 before sending progress vlaue again
 

Shay

Well-Known Member
Licensed User
Longtime User
ProgressBar1.Invalidate - did not help

why this happens?

any other ideas without writing the progressBar

Kamac can you post your code, just in case...

thanks
 
Upvote 0
Top