horizontal scroll bar on panel....not working RRS feed

  • Question

  • Hi,
    I am creating a UserControl which has horizontal scroll bar on the Paneland how to move the contents of the panel (left or right) according to the scrolling position?
    Any sample code?
    • Moved by OmegaMan Tuesday, July 14, 2009 6:40 PM (From:Visual C# General)
    Tuesday, July 14, 2009 11:23 AM


  • Hi,

    Why not use the internal scroll bar of a Panel instead by setting the AutoScroll property of the Panel to true?

    If you set the AutoScroll property to false, the scroll function of the Panel won't work. So you can't scroll the Panel programmatically.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
    • Marked as answer by Linda Liu Tuesday, July 21, 2009 3:43 AM
    Monday, July 20, 2009 5:00 AM