Home All Groups Group Topic Archive Search About

how to set thump position in autoscroll of panel

Author
24 Nov 2004 2:05 PM
amit bharadwaj
hi all
  i am using a panel with autoscroll , now i want to

set the thump position myself on clicking scroll-bar

buttons or page up or page down buttons .
pls help
--
amit bharadwaj

Author
24 Nov 2004 2:26 PM
Herfried K. Wagner [MVP]
"amit bharadwaj" <amitbharad***@discussions.microsoft.com> schrieb:
>  i am using a panel with autoscroll , now i want to
>
> set the thump position myself on clicking scroll-bar
>
> buttons or page up or page down buttons .


I am not sure if I understand what you want to do.  Setting the
'AutoScrollPosition' property will scroll the scrollable control/form
automatically.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
25 Nov 2004 4:59 AM
amit bharadwaj
see i want when one clicks scrollbar buttons , i mean in general autoscroll
bar handle the value of thumb when one clicks the scrollbar buttons .
See in Scroll Bar control we have a property small cahnge and large change
which keep track of this , i want something similar to that . now in Scroll
barcontrol  we have a event Scroll  which occurs when one clicks scrollbar
button and in tht we change the small change property..
But in AutoScroll of panel there is no such event and property , so please
help

Show quote
"Herfried K. Wagner [MVP]" wrote:

> "amit bharadwaj" <amitbharad***@discussions.microsoft.com> schrieb:
> >  i am using a panel with autoscroll , now i want to
> >
> > set the thump position myself on clicking scroll-bar
> >
> > buttons or page up or page down buttons .
>
>
> I am not sure if I understand what you want to do.  Setting the
> 'AutoScrollPosition' property will scroll the scrollable control/form
> automatically.
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>

AddThis Social Bookmark Button