how to adjust sliding of scroll according to the value calculated by me?

Posted by cng on Stack Overflow See other posts from Stack Overflow or by cng
Published on 2010-06-11T03:22:50Z Indexed on 2010/06/11 3:33 UTC
Read the original article Hit count: 135

Filed under:
|

I am working on scroll. I have made a program wherein if the scroll box is in particular range of the panel then it automatically moves to a particular position in the slider. For eg, I have a panel of size 500. the scroll has height of 100. Now the total intervals are 5. Now if i slide the scroll box at a position 225 then i want that it automatically slides to the start of that interval that is at position 200. or if i slide to position 450 then instead of staying there it goes to position 400. Is it possible?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms