Seekbar help

rfresh

Well-Known Member
Licensed User
Longtime User
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...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…