-
Whenever I set the .max properties of a scroll bar i.e. vscroll1.max=picture1.height , the picture scrolls almost double than it's height.
What is the right way to scroll the picturebox inside another picturebox so that is scrolls to it's exact height?
Kinjal
-
You need to subtact the height of your picture box from the height of the actual picture. This will give you your max value for your scroll bar.
If this doesn't work let me know. I could send you some source if you were really thick headed ;)