Scroll Bars RRS feed

  • Question

  • I am painting a graph into a panel. The graph is larger than the panel, so, I would like to use scroll bars.

    I am able to make visible the scroll bars, but when I move the bar, the value of the position of the bar is automatically set to zero.

    What am I doing bad?

    Wednesday, June 22, 2005 10:16 AM


  • How are you making the scroll bars visible? 

    Setting Panel.AutoScroll = true will display the scrollbars automatically, depending on the size of the Panel's contents.  The scrollbars should behave normally and you should not see the scrollbars resetting as you described. 

    Please post some reproduction steps or a code sample if you continue to have difficulties.
    Wednesday, June 22, 2005 4:57 PM