I have a form and have dropped a vertical scrollbar on it.
Whatever I set the “Maximum” property to, the scrollbar will only scroll up to that value minus 9.
Why is that?
I’m using C# in Visual Studio 2008. (WinForms)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
After some research, I’ve found that a scroll bar can only go up to it’s maximum minus the size of the scrollbar’s slider.
And the size of the slider appears to be equal to (LargeChange – 1).
Doesn’t seem very intuitive to me but there you go.