I use the slider (1..10) with the settings:
I turn to Private Sub Slider1_ValueChange (Value As Double)for any slider shift. Can I do something to make the slider move only in steps?
1,1.33,1,66.1.99,2.33 and so on...
I do not want to go to Slider1_ValueChange at intermediate values
B4X:
joSlider.RunMethod("setBlockIncrement", Array(0.3))
joSlider.RunMethod("setMajorTickUnit", Array(1.0))
joSlider.RunMethod("setMinorTickCount", Array(2))
joSlider.RunMethod("setShowTickLabels", Array(True))
joSlider.RunMethod("setShowTickMarks", Array(True))
joSlider.RunMethod("setValueChanging", Array(True))
joSlider.RunMethod("setSnapToTicks", Array(True))
1,1.33,1,66.1.99,2.33 and so on...
I do not want to go to Slider1_ValueChange at intermediate values