ScrollBar Bug/ Problem in .Net 2.0?

  • Thread starter Thread starter Kieron
  • Start date Start date
K

Kieron

Hi all,

I'm mimicking the AutoScroll functionality from a ScrollableContainer on
my user control (for reasons of having more control and flexibility),
but I seem to have hit a bit of a wall.

In the case of having a horizontal scroll bar, I set his .Maximum
property to say 167, but when I use the thumb/ button to get to the
right-most extent he'll only ever get to a maximum of 158. It always
appears to be out by 9. Although I've only tried this on one PC I find
it hard to believe I'm the only person who has this problem...can anyone
shed some light on this for me?

Thanks everyone,
Kieron
 
Back
Top