Are you using MaxGUI? If so have you seen this ?
If this is your own code then the trick is to have the slider act from 1-100 (e.g. a percentage) and do the same with whatever it is you're scrolling.
e.g. imagewidth= 256 then each pixel is 2.56% which you map onto your scrollbar (unless I have misunderstood).
If this is your own code then the trick is to have the slider act from 1-100 (e.g. a percentage) and do the same with whatever it is you're scrolling.
e.g. imagewidth= 256 then each pixel is 2.56% which you map onto your scrollbar (unless I have misunderstood).