giannimaione Well-Known Member Licensed User Longtime User Nov 4, 2016 #1 Hi all, i use Slider component. with LEFT and RIGHT keys of keyboards Slider Value change step of 10 how to set value step = 1 (or another value) ?
Hi all, i use Slider component. with LEFT and RIGHT keys of keyboards Slider Value change step of 10 how to set value step = 1 (or another value) ?
klaus Expert Licensed User Longtime User Nov 4, 2016 #2 You can do it with a JavaObject: B4X: Private joSlider As JavaObject joSlider = Slider1 joSlider.RunMethod("setBlockIncrement", Array As Object(1.0)) Upvote 0
You can do it with a JavaObject: B4X: Private joSlider As JavaObject joSlider = Slider1 joSlider.RunMethod("setBlockIncrement", Array As Object(1.0))
I inakigarm Well-Known Member Licensed User Longtime User Nov 4, 2016 #3 You're fast Klaus ! I'm just ready to answer this For more properties on Slider (other objects-views) that aren't exposed in Designer/code and avalaible from Javaobject calls, see the Oracle Docs: https://docs.oracle.com/javase/8/ja...control/Slider.html#setBlockIncrement-double- Upvote 0
You're fast Klaus ! I'm just ready to answer this For more properties on Slider (other objects-views) that aren't exposed in Designer/code and avalaible from Javaobject calls, see the Oracle Docs: https://docs.oracle.com/javase/8/ja...control/Slider.html#setBlockIncrement-double-