Hello, a RoundSlider with Min=0 and Max=100
If the user turns the RoundSlider and reaches 100, it should not go to 0, but stay at 100.
And the other way around too, if the user turns the RoundSlider to the minimum, the 0, if he turns further to the left that it doesn't go to 100 but stays at zero.
Is it possible?
I have tried this, but it does not work.
If the user turns the RoundSlider and reaches 100, it should not go to 0, but stay at 100.
And the other way around too, if the user turns the RoundSlider to the minimum, the 0, if he turns further to the left that it doesn't go to 100 but stays at zero.
Is it possible?
I have tried this, but it does not work.
B4X:
Private Sub roundslider1_ValueChanged (Value As Int)
If ((iLastValue=100) And (Value=1)) Or ((iLastValue=1) And (Value=100)) Then
Value=iLastValue
End If
iLastValue = Value
End Sub