JustinLong Member Licensed User Aug 17, 2021 #1 I'm probably missing something here, but when I initially show a progress bar, the first thing it does is animate from 0 to 100% then begins to animate down to 0 again. Is there a way to have it show 100% immediately?
I'm probably missing something here, but when I initially show a progress bar, the first thing it does is animate from 0 to 100% then begins to animate down to 0 again. Is there a way to have it show 100% immediately?
Erel B4X founder Staff member Licensed User Longtime User Aug 17, 2021 #2 Setting the value immediately is implemented in AnotherProgressBar (XUI Views). You can add this sub to B4XProgressBar: B4X: Public Sub SetProgressImmediately(v As Float) currentValue = v DrawValue(v) End Sub Upvote 0
Setting the value immediately is implemented in AnotherProgressBar (XUI Views). You can add this sub to B4XProgressBar: B4X: Public Sub SetProgressImmediately(v As Float) currentValue = v DrawValue(v) End Sub