rfresh Well-Known Member Licensed User Longtime User Feb 28, 2012 #1 I'm using a SeekBar component to set the screen brightness. I understand the screen brightness has a value of 0 to 255. I see that the SeekBar has a range of 0 to 100. I'm new to B4A and not a math wiz, so how would I correlate a 0-100 value to 0-255? Thanks...
I'm using a SeekBar component to set the screen brightness. I understand the screen brightness has a value of 0 to 255. I see that the SeekBar has a range of 0 to 100. I'm new to B4A and not a math wiz, so how would I correlate a 0-100 value to 0-255? Thanks...
specci48 Well-Known Member Licensed User Longtime User Feb 28, 2012 #2 You can set your own maximum value with seekbar.max! specci48 Upvote 0
rfresh Well-Known Member Licensed User Longtime User Feb 28, 2012 #3 specci48 said: You can set your own maximum value with seekbar.max! specci48 Click to expand... I did not see that property...thanks...!!! Upvote 0
specci48 said: You can set your own maximum value with seekbar.max! specci48 Click to expand... I did not see that property...thanks...!!!
joseluis Active Member Licensed User Longtime User Feb 28, 2012 #4 For other cases where you can't change the maximum see this post. Upvote 0