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

Re: ScrollBar Bug/ Problem in .Net 2.0? by Stoitcho

Stoitcho
Mon Apr 10 08:14:23 CDT 2006

Kieron,

This is the way the scorllbar works. Missing piece is because in the
LargeChange property.

We duscussed this some time ago. If you want you can see my explanation
here:

http://groups.google.ca/group/microsoft.public.dotnet.general/browse_thread/thread/8979eddb04506821/01e0ecc4e95d7744?lnk=st&q=Stoitcho+scrollbar+group%3Amicrosoft.public.dotnet.*&rnum=1&hl=en#01e0ecc4e95d7744


--
HTH
Stoitcho Goutsev (100)
"Kieron" <i.am@a.fish> wrote in message
news:uYG7ZGAXGHA.4976@TK2MSFTNGP03.phx.gbl...
> 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



Re: ScrollBar Bug/ Problem in .Net 2.0? by Kieron

Kieron
Mon Apr 10 10:08:06 CDT 2006

Stoitcho Goutsev (100) wrote:
> Kieron,
>
> This is the way the scorllbar works. Missing piece is because in the
> LargeChange property.
>
> We duscussed this some time ago. If you want you can see my explanation
> here:
>
> http://groups.google.ca/group/microsoft.public.dotnet.general/browse_thread/thread/8979eddb04506821/01e0ecc4e95d7744?lnk=st&q=Stoitcho+scrollbar+group%3Amicrosoft.public.dotnet.*&rnum=1&hl=en#01e0ecc4e95d7744
>
>

Ah, thanks...although I'm with Dave A from that post...smells like a
screw-up to me.